[xsd-users] GML classes

Boris Kolpackov boris at codesynthesis.com
Thu Jul 20 03:07:46 EDT 2006


Hi Henrik,

Buchholz Henrik <Henrik.buchholz at hpi.uni-potsdam.de> writes:

> I am searching for a way to generate C++ classes from the CityGML
> schema, which is built on GML. I found GML in the list of schemas that
> have successfully been processed with xsd. I tried it out - including
> the recommended "--generate-polymorphic" option - but got a large number
> of errors like this:
>
> "citygml.xsd:1105:49: error: Recurse: There is not a complete functional
> mapping between the particles"
>
> I googled for this error and found out that other people also had this
> problem, but found no solution. Is there a way to fix these errors
> without having to change the schema?


If you look at the supported schema list, GML section[1] you will
see that the supported version is 3.1.1s which is (quoting from
the readme.txt):

"a version of the GML 3.1.1 schema with all "deprecated" components
 removed. This copy of the schema is provided for convenience in
 developing new application schemata to ensure that they do not use
 any deprecated components."

This version was given to me by James Boyden of The University of
Sydney. He is working on the GPlates project which uses GML. He
posted quite a few emails about GML to this mailing list; you might
be interested in searching for them or getting in contact with him.

I could not find GML 3.1.1s on the www.opengeospatial.org so if
you would like I can send you the archive.

As of the error you see, it is a bug[2] in the Xerces-C++ schema
processor. You can improve its chances of being fixed for Xerces-C++
3.0.0 by voting on it.


[1] http://codesynthesis.com/projects/xsd/extras/supported-schemas.xhtml#gml
[2] https://issues.apache.org/jira/browse/XERCESC-1281

hth,
-boris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 652 bytes
Desc: Digital signature
Url : http://codesynthesis.com/pipermail/xsd-users/attachments/20060720/1295fa43/attachment.pgp


More information about the xsd-users mailing list