[OSGeo-Standards] Simple Feature GML Level 0 plus inline XSD == good
Jody Garnett
jgarnett at refractions.net
Thu Aug 30 16:00:00 EDT 2007
Hi Landon I am not sure you looked up the inline XSD idea? Here is a
good example (from http://xmlfox.com/validate_xml.htm).
If you reduced the linline XSD to a series of:
<Landon.xml>
<xs:schema id="Landon.xml" xmns=""
xmlns:xs="...."
xmlns:gml="....">
<xs:element name="Seen" minOccurs="1" maxOccurs="unbounded">
<xs:comlexType>
<xs:sequence>
<xs:element name="name" type="xs:string" />
<xs:element name="location" type="gml:point" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<Seen>
<name>hello</name>
<location>...</location>
</Seen>
</Landon.xml>
You can treat the xs:schema stuff as a header and based on it parse the
rest of the file, limit the element types to things defined in xs simple
and gml simple level 0 and you are good to go?
More information about the Standards
mailing list