W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2006

Imports do not seem to have any effect in validators.

From: Ortuzar San Vicente, Lander <lortuzar@indra.es>
Date: Mon, 8 May 2006 12:18:33 +0200
Message-ID: <6B577B7AD5E09141B5E79541EE86A097034A97C5@barglomail1.indra.es>
To: <xmlschema-dev@w3.org>
Cc: "Palenzuela Roses, Oriol" <opalenzuela@indra.es>
Hello everybody,

 

I'm a new at xml validation, so I apologize if i'm asking a rather
simple question.

It seems that the imports I use have no effect in validating the XMLs,
as with xmllint and xsv, 

there is no complain if I modify a field which is presumably checked by
an xsd which is imported.

I have a main xsd for the body of the file, and a special xsd for the
header. When I check the XML, 

the validators take into account the information present in the body.xsd
but not the one present in

Headers.xsd as when I modify to XML in the body to become not valid it
is detected but, when I alter the header,

the validators do not detect the error!

 

The xsv tells about the imports it has found as they were correctly
detected:

<schemaDocAttempt
URI="file:///home/lander/pf_collect/config/Headers.xsd"

                    namespace="http://www.gal-gms-ete.esa.int"
outcome="success"

                    source="import"/>

It seems like I'm missing something important ;), so please somebody
help me, and tell me what to do

to get those imports to work properly.

 

Thanks in advance for your support,

Lander Ortuzar San Vicente 
Telecommunication Engineer 
Satellite Navigation Systems Department 
Indra Espacio SA 

 

Email      lortuzar@indra.es 
Web       http://www.indra.es/space 

 





image001.gif
(image/gif attachment: image001.gif)

Received on Monday, 8 May 2006 17:10:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:54 GMT