[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/

These look like the same problems GML 3.0.0-3.1.0 is plagued with. I'd
suggest looking at the subsection of the prototype 3.1.1 which addresses
your needs.

Take a look at my slanderous piece of libel against 3.0.0 for a description
of the source of these errors. Something similar probably applies.
http://docs.codehaus.org/display/GEOTOOLS/Critical+Errors+in+OGC's+GML+3.1.0

Bryce
PS: The address of the GML 3.1.1 subversion server is attached as a comment
to the above.

geotools-devel-admin@lists.sourceforge.net wrote on 04/19/2005 03:46:24 PM:

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
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

If you turn of strict checking then it works ok. It's basically fully
validating the schema, and the gml schemas come up short. If you use the
xerces samples, I think the flag is -f for the writer (that's how I
validate with xerces). You can look in the writer source code, I think
the option is
http://apache.org/xml/features/validation/schema-full-checking. Should be
set to false, and then it will validate.

On Tue, 19 Apr 2005, Bryce L Nordgren wrote:

These look like the same problems GML 3.0.0-3.1.0 is plagued with. I'd
suggest looking at the subsection of the prototype 3.1.1 which addresses
your needs.

Take a look at my slanderous piece of libel against 3.0.0 for a description
of the source of these errors. Something similar probably applies.
http://docs.codehaus.org/display/GEOTOOLS/Critical+Errors+in+OGC's+GML+3.1.0

Bryce
PS: The address of the GML 3.1.1 subversion server is attached as a comment
to the above.

geotools-devel-admin@lists.sourceforge.net wrote on 04/19/2005 03:46:24 PM:

> 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
> _______________________________________________
> Geotools-devel mailing list
> Geotools-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel

-------------------------------------------------------
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
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

--