Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: Imports do not seem to have any effect in validators.

From: "Ortuzar San Vicente, Lander" <lortuzar@-----.-->
To: "Florent Georges" <darkman_spam@-----.-->, <xmlschema-dev@--.--->
Date: 5/9/2006 12:32:00 PM
Dear Florent,

I attach you 2 XML with 2 schemas. The main schema is EFDs_reduced.xsd =
which imports Headers_reduced.xsd. One of the XML is correctly formatted =
and it validates as it is expected, but the other one misses one field =
in the Header, and the validators do not complain about that fact =
(although the schema which defines the Header tag is imported in the =
main one)

The xml files are:
000sz06037i52RDEFD00000001_reduced.xml --> Correct
000sz06037i52RDEFD00000001_reduced_WRONG.xml --> Wrong (who would have =
guessed? ;-) )

The schemas:
EFDs_reduced.xsd  (main)
Headers_reduced.xsd (imported by main)

The validators I've tried are:

Xmllint with the following syntax:

> xmllint -schema EFDs_reduced.xsd =
000sz06037i52RDEFD00000001_reduced.xml       

And Xsv with the following syntax:

> xsv 000sz06037i52RDEFD00000001_reduced.xml 

Thanks in advance for your help,

Lander Ortuzar.

-----Mensaje original-----
De: Florent Georges [mailto:darkman_spam@y...] 
Enviado el: lunes, 08 de mayo de 2006 23:33
Para: Ortuzar San Vicente, Lander; xmlschema-dev@w...
CC: Palenzuela Roses, Oriol
Asunto: RE: Imports do not seem to have any effect in validators.

"Ortuzar San Vicente, Lander" wrote:

> 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.

  It's hard to help you without information.  Can you please post a
minimal schema + XML instance that reproduce the problem, as well as
the commands you use to validate ?

  Regards,

--drkm























=09

=09
	=09
_________________________________________________________________________=
__ 
Faites de Yahoo! votre page d'accueil sur le web pour retrouver =
directement vos services pr=E9f=E9r=E9s : v=E9rifiez vos nouveaux mails, =
lancez vos recherches et suivez l'actualit=E9 en temps r=E9el. 
Rendez-vous sur http://fr.yahoo.com/set


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