Altova Mailing List Archives>Archive Index >xml-dev Archive Home >Recent entries >Thread Prev - RE: [xml-dev] Validating XML documents containing xml:* [Thread Next] Re: [xml-dev] Validating XML documents containing xml:*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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
