Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xml-dev] Validating XML documents containing xml:*

From: Daniel Veillard <veillard@-----.--->
To: Michael Champion <michael.champion@-------.--->
Date: 11/7/2005 11:02:00 PM
On 11/7/05, Michael Champion <michael.champion@h...> wrote:
Ahh, but which spec are we talking about conforming to?

There's an inconsistency between the Schema spec and the XInclude spec, see
http://weblogs.asp.net/cazzu/archive/2005/01/10/XsdAndXInclude.aspx
 "So,
either you modify all your schemas to that each and every element includes
those attributes (either by inheriting from a base type or using an
attribute group reference), or you validation is bound to fail if someone

decides to include something." The problem is that we get bug reports from
people wanting to use XInclude with schemas they can't fix up to be
compatible with XInclude.

XInclude processors may "at user option"  drop the addition of the xml:base and xml:lang

fixup which is the problem they are seeing. See errata PEX16

   http://www.w3.org/2004/12/xinclude-errata/#PEX16

It sounds way cleaner to drop the non-conformant XSD user option and instead add a 

user option for XInclude following this errata.



Daniel


transparent
Print
Mail
Like It
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