Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


XML schema, importing another schema

From: Boris Ozegovic <uauauauauau@---.--->
To: NULL
Date: 5/6/2008 4:51:00 PM

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}:PointPropertyType 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="gml:PointPropertyType"/>

</schema>
---------------------------

And instance is
---------------------------
<?xml version="1.0"?>

<zblsa:point
   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/">
	
   <gml:Point gml:id="1">
	   <gml:pos>1 2</gml:pos>
   </gml:Point>


</zblsa:point>
----------------------------


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent