[lxml-dev] questions about lxml xsd:include and xsd:import behavior
Stefan Behnel
stefan_ml at behnel.de
Fri Aug 29 11:43:11 CEST 2008
Hi,
the best place to ask these questions is the lixbml2 mailing list.
Stefan
Santoro, Peter wrote:
> After reading
> http://kontrawize.blogs.com/kontrawize/2007/10/the-trouble-wit.html, I
> have a couple of questions about how lxml and libxml2 handle imports and
> includes. I can always run some tests to figure this out for myself,
> but it would be nice if someone who already knows the official/correct
> answers could share them.
>
>
>
> 1) The XML Schema standard appears to leave it up to the parser to
> determine how to resolve importing multiple schemas from the same
> namespace. Apparently, some parsers only import the first schema from a
> given namespace, which could lead to missing definition errors. What is
> the behavior of lxml/libxml2 here?
>
>
>
> 2) It appears that some xml parsers incorrectly treat multiple relative
> includes of the same file as being different. This behavior would cause
> the same file to be included more than once, causing redefinition
> errors. What is the behavior of lxml/libxml2 here?
>
>
>
> Thank you,
>
>
>
> Peter
>
> _______________________________________________
> lxml-dev mailing list
> lxml-dev at codespeak.net
> http://codespeak.net/mailman/listinfo/lxml-dev
>
More information about the lxml-dev
mailing list