W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2002

error 2000 - Can not build schema

From: Gerson Mizuta Weiss <weiss@cpqd.com.br>
Date: Wed, 11 Sep 2002 14:07:28 -0400 (EDT)
Message-ID: <7B3538F053C06142BF0AA9DF2D764AC6818E73@MAILSRV1.aquarius.cpqd.com.br>
To: <xmlschema-dev@w3.org>
I would like some help.
I cant parse a determined XML document. 
It always shows the following message:
testegml.xml<Line 2, Column 149>: XSD-2000: (Error) Can not build schema ' ' located at 'gml_format.xsd'
These are the files, they are in the same location:
<?xml version="1.0" encoding="ISO-8859-1"?>
<OBJECT xmlns:gml="  <http://www.opengis.net/gml> http://www.opengis.net/gml" xmlns:xsi="  <http://www.w3.org/2001/XMLSchema-instance> http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="gml_format.xsd">
   <ANY name="aluno1.jpg" dir="/home/weiss/temp/">
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="  <http://www.w3.org/2001/XMLSchema> http://www.w3.org/2001/XMLSchema" xmlns:gml="  <http://www.opengis.net/gml> http://www.opengis.net/gml">
 <xs:import namespace="  <http://www.opengis.net/gml> http://www.opengis.net/gml" schemaLocation="feature.xsd"/>
<xs:element name="OBJECT">
    <xs:element name="ANY">
            <xs:element ref="gml:location"/>
      <xs:attribute name="name" type="xs:string" use="required"/>
      <xs:attribute name="dir" type="xs:string" use="optional"/>
      <xs:attribute name="image" type="xs:string" use="optional"/>
I would like some help to define the namespaeces. I think there is some problem that cant see.
Received on Thursday, 12 September 2002 04:34:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:58 UTC