using this code snipped:
results in this WKT - Geometry:
Unfortunatly this geometry is not valid (self intersection at 383869.8034728593 5837832.200000011 )
The CircularString instance holds a tolerance of 0.006, which doesn't seem to be used. But using it would result in a better approximation of this arc.
Nevertheless, I think the gml definition is correct and not invalid.
So how should I proceed?