I have a schema that i have "flattened" using XML Editor. After i flatten it i get a validation error. What can i do to fix it?
Error Message:
F [Xerces] Element or attribute do not match QName production: QName::=(NCName':')?NCName.
code:
<xs:import namespace="http://www.opengis.net/gml"
schemaLocation="http://schemas.opengis.net/gml/3.1.1/base/gml.xsd"
xmlns:="http://www.opengis.net/gml/3.1.1" />
<xs:annotation xmlns:="http://www.opengis.net/sps/1.0">
<xs:documentation>
<copyright> SPS is an OGC Standard. Copyright (c)
2007,2010 Open Geospatial Consortium, Inc. All Rights Reserved. To
obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
</copyright>
</xs:documentation>
</xs:annotation>
Here's a screenshot that might better illustrate my error:
EDIT:
Remove the colon somehow. What exactly does this "flattening" supposed to do?
The flattening of the xsd takes an xsd with a lot of includes and puts it all into one file (without any includes).