RE: [Geoserver-devel] geometry.xsd (gml 2.1.2) invalid schema?

David,

A while ago (last october?) I tried to use a
jaxb-reference-implementation pre-release to build the OGC schemas into
java objects so as to create a simple client library for GML, WMS, etc.

The results of my work are here:

http://maps.massgis.state.ma.us/~sfarber/ogc_schemas/

Part of the initial problem was EXACTLY what you outlined. By moving a
very small number of tags around which didn't affect the content model
very much (do some diff's to see what the exact differences are) I was
able to get the gml schemas to validate.

Feel free to use whatever you discover from looking at that stuff. I'm
actually wrestling with jaxb and some different schemas right now, so
feel free to drop me a line with any validation woes...I've worked
through a bunch of them.

Also, as was pointed out by bryce previously, I got ahold of a draft
version of the GML 3.1.1 "xerces-valid" schemas about that time and
tried to work with them. GML 3 is quite a bear to think about in an
object-model sense, though (probably not much harder to use, though) So
I dropped that route after a short while.

--saul

-----Original Message-----
From: geoserver-devel-admin@lists.sourceforge.net
[mailto:geoserver-devel-admin@lists.sourceforge.net] On Behalf Of
dblasby@anonymised.com
Sent: Tuesday, April 19, 2005 5:46 PM
To: geoserver-devel@lists.sourceforge.net
Cc: geotools-devel@lists.sourceforge.net
Subject: [Geoserver-devel] geometry.xsd (gml 2.1.2) invalid schema?

I tried to valid an SLD document against the .xsd, but SAX is saying the
geometry.xsd has problems.

http://schemas.opengis.net/gml/2.1.2/

line:297 - org.xml.sax.SAXParseException: rcase-RecurseLax.2: There is
not a complete functional mapping between the particles.

line:297 - org.xml.sax.SAXParseException:
derivation-ok-restriction.5.4.2: Error for type 'MultiPolygonType'.
The particle of the type is not a valid restriction of the particle of
the base.

line:280 - org.xml.sax.SAXParseException: rcase-RecurseLax.2: There is
not a complete functional mapping between the particles.

line:280 - org.xml.sax.SAXParseException:
derivation-ok-restriction.5.4.2: Error for type 'MultiLineStringType'.
The particle of the type is not a valid restriction of the particle of
the base.

line:263 - org.xml.sax.SAXParseException: rcase-RecurseLax.2: There is
not a complete functional mapping between the particles.

line:263 - org.xml.sax.SAXParseException:
derivation-ok-restriction.5.4.2: Error for type 'MultiPointType'. The
particle of the type is not a valid restriction of the particle of the
base.

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI. Version 11
adds new functionality designed to reduce time involved in creating,
integrating, and deploying reporting solutions. Free runtime info, new
features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel