Click to See Complete Forum and Search --> : XML error while parsing GML data Using XMLBeans


Arun_Praveen
01-21-2008, 08:17 AM
Hi,

Iam facing problems while trying to use XMLBeans for parsing GML data..

Its throwing me the following errors. Someone please help me out.

[xmlbean] etc/schemas/OSOrthoMetadata.xsd:12:2: error: sch-props-correct.2: Duplicate global element: OrthoImageMetadata@http://www.ordnancesurvey.co.uk/xml/namespaces/osgb (Original global element found in file: OSImageMetadata.xsd)
[xmlbean] etc/schemas/OSQueryResult.xsd:55:1: error: cos-element-consistent: Type of 'chunkingPolicy@http://www.ordnancesurvey.co.uk/xml/namespaces/osgb' is inconsistent with another element with the same name in this content model.
[xmlbean] etc/schemas/OSQueryResult.xsd:56:1: error: cos-element-consistent: Type of 'chunkSize@http://www.ordnancesurvey.co.uk/xml/namespaces/osgb' is inconsistent with another element with the same name in this content model.
[xmlbean] etc/schemas/OSGeometryTopology.xsd:36:2: error: cos-particle-restrict.2: Invalid Restriction. The derived content model <sequence> cannot restrict base content model <choice>.