bug while generating schema documentation for GML?

Martijn Meijers <[email protected]> Thu, 30 Jun 2005 17:27:53 +0200
Newsgroups gmane.text.xml.xframe.xsddoc
Organization Delft University of Technology
Message-ID <[email protected]>
Hi,


While processing the schemas for the Geography Markup Language, xsddoc
is starting to show hick ups when parsing the file coverage.xsd.

Command line issued for parsing the files is:

 $ xsddoc -cf -o doc base/gml.xsd

Schema's (although copyrighted and not for distribution) for GML are
available from http://schemas.opengis.net/gml/3.1.1/

Results are missing files, instead of a completely documented schema.

I'm running xsddoc on a P4 with 1 GB RAM. OS is Gentoo Linux, and I
downloaded the complete version of xsddoc (beta-full.tar.gz).

> [...]
> process element {http://www.opengis.net/gml}MappingRule from file coverage.xsd
> xsddoc caused an error: java.lang.OutOfMemoryError
> [...]
> process complexType {http://www.opengis.net/gml}MultiPointDomainType from file coverage.xsd
> xsddoc caused an error: java.lang.OutOfMemoryError
> [...]
> process element {http://www.opengis.net/gml}multiCurveDomain from file coverage.xsd
> xsddoc caused an error: java.lang.OutOfMemoryError
> [...]
> process element {http://www.opengis.net/gml}multiSurfaceDomain from file coverage.xsd
> xsddoc caused an error: java.lang.OutOfMemoryError
> process complexType {http://www.opengis.net/gml}MultiSurfaceDomainType from file coverage.xsd
> xsddoc caused an error: java.lang.OutOfMemoryError
> process element {http://www.opengis.net/gml}MultiSolidCoverage from file coverage.xsd
> xsddoc caused a fatal error: resource:/net/sf/xframe/xsddoc/xslt/util.xsl:242:-1 java.lang.NullPointerException
> process complexType {http://www.opengis.net/gml}MultiSolidCoverageType from file coverage.xsd
> process element {http://www.opengis.net/gml}multiSolidDomain from file coverage.xsd
> Warning: popContextNodeList when stack is empty!
> xsddoc caused a fatal error:  java.lang.ArrayIndexOutOfBoundsException: -1
> xsddoc caused an error: java.lang.OutOfMemoryError
> process complexType {http://www.opengis.net/gml}MultiSolidDomainType from file coverage.xsd
> xsddoc caused an error: java.lang.OutOfMemoryError
> process element {http://www.opengis.net/gml}GridCoverage from file coverage.xsd
> xsddoc caused an error: 1 >= 1
> process complexType {http://www.opengis.net/gml}GridCoverageType from file coverage.xsd
> xsddoc caused an error: 2 >= 2
> process element {http://www.opengis.net/gml}gridDomain from file coverage.xsd
> xsddoc caused an error: 3 >= 3
> process complexType {http://www.opengis.net/gml}GridDomainType from file coverage.xsd
> xsddoc caused an error: 4 >= 4
> process element {http://www.opengis.net/gml}RectifiedGridCoverage from file coverage.xsd
> xsddoc caused an error: 5 >= 5
> process complexType {http://www.opengis.net/gml}RectifiedGridCoverageType from file coverage.xsd
> xsddoc caused an error: 6 >= 6
> process element {http://www.opengis.net/gml}rectifiedGridDomain from file coverage.xsd
> xsddoc caused an error: 7 >= 7
> process complexType {http://www.opengis.net/gml}RectifiedGridDomainType from file coverage.xsd
> xsddoc caused an error: 8 >= 8
> [...]
> process complexType {http://www.opengis.net/gml}CoordinateReferenceSystemRefType from file coordinateReferenceSystems.xsd
> xsddoc caused an error: java.lang.OutOfMemoryError
> process element {http://www.opengis.net/gml}CompoundCRS from file coordinateReferenceSystems.xsd
> process complexType {http://www.opengis.net/gml}CompoundCRSType from file coordinateReferenceSystems.xsd
> xsddoc caused an error: java.lang.OutOfMemoryError
> process element {http://www.opengis.net/gml}includesCRS from file coordinateReferenceSystems.xsd
> xsddoc caused an error: java.lang.OutOfMemoryError
> process element {http://www.opengis.net/gml}compoundCRSRef from file coordinateReferenceSystems.xsd
> xsddoc caused a fatal error: resource:/net/sf/xframe/xsddoc/xslt/model.xsl:933:-1 java.lang.ArrayIndexOutOfBoundsException: -1
> process complexType {http://www.opengis.net/gml}CompoundCRSRefType from file coordinateReferenceSystems.xsd
> null
> java.lang.OutOfMemoryError
> 
> xsddoc finished.

Errors are reproducable. I'm digested to the list, so please e-mail me
in case of any questions on the address above for a quicker reponse.

Thanks in advance.


Martijn


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click