B
Boris Ozegovic
Hello
I ma trying to import GML (Geography markup language) into some project,
but I getting "Undefined type" error:
Invalid: Undefined type
gml{http://www.opengis.net/gml/3.2}ointPropertyType referenced as type
definition of point
Does anybody have an idea?
Schema is following:
--------------------------
<?xml version = "1.0" encoding = "UTF-8"?>
<schema
xmlns = "http://www.w3.org/2001/XMLSchema"
targetNamespace = "http://lucas.ucs.ed.ac.uk/test/"
xmlns:zblsa = "http://lucas.ucs.ed.ac.uk/test/"
xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
xmlns:gml="http://www.opengis.net/gml/3.2.1"
elementFormDefault = "qualified">
<import namespace="http://www.opengis.net/gml/3.2.1"
schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
<element name="point" type="gmlointPropertyType"/>
</schema>
---------------------------
And instance is
---------------------------
<?xml version="1.0"?>
<zblsaoint
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml/3.2.1"
xsi:schemaLocation = "http://lucas.ucs.ed.ac.uk/test/
http://89.201.135.5/shema.xsd"
xmlns:zblsa="http://lucas.ucs.ed.ac.uk/test/">
<gmloint gml:id="1">
<gmlos>1 2</gmlos>
</gmloint>
</zblsaoint>
----------------------------
I ma trying to import GML (Geography markup language) into some project,
but I getting "Undefined type" error:
Invalid: Undefined type
gml{http://www.opengis.net/gml/3.2}ointPropertyType referenced as type
definition of point
Does anybody have an idea?
Schema is following:
--------------------------
<?xml version = "1.0" encoding = "UTF-8"?>
<schema
xmlns = "http://www.w3.org/2001/XMLSchema"
targetNamespace = "http://lucas.ucs.ed.ac.uk/test/"
xmlns:zblsa = "http://lucas.ucs.ed.ac.uk/test/"
xmlns:xsd = "http://www.w3.org/2001/XMLSchema"
xmlns:gml="http://www.opengis.net/gml/3.2.1"
elementFormDefault = "qualified">
<import namespace="http://www.opengis.net/gml/3.2.1"
schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
<element name="point" type="gmlointPropertyType"/>
</schema>
---------------------------
And instance is
---------------------------
<?xml version="1.0"?>
<zblsaoint
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml/3.2.1"
xsi:schemaLocation = "http://lucas.ucs.ed.ac.uk/test/
http://89.201.135.5/shema.xsd"
xmlns:zblsa="http://lucas.ucs.ed.ac.uk/test/">
<gmloint gml:id="1">
<gmlos>1 2</gmlos>
</gmloint>
</zblsaoint>
----------------------------