|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Validating XML documents containing xml:*
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. Stan talks about the rationale behind Microsoft's approach to addressing this in http://blogs.msdn.com/xmlteam/archive/2005/05/11/416639.aspx >From: "Michael Kay" <mike@s...> >To: "'Stan Kitsis'" <skits@m...>,"'Mark Seaborne'" ><MSeaborne@o...>,<xml-dev@l...> >Subject: RE: Validating XML documents containing xml:* >Date: Mon, 7 Nov 2005 21:37:20 -0000 > > > .NET 2.0 gives you an option to allow or disallow xml:* attributes in > > the instance documents when the schema doesn't explicitly > > declare them. > >I'm surprised. I don't think that's conformant behavior. > >Michael Kay >http://www.saxonica.com/ > > > >----------------------------------------------------------------- >The xml-dev list is sponsored by XML.org <http://www.xml.org>, an >initiative of OASIS <http://www.oasis-open.org> > >The list archives are at http://lists.xml.org/archives/xml-dev/ > >To subscribe or unsubscribe from this list use the subscription >manager: <http://www.oasis-open.org/mlmanage/index.php> > _________________________________________________________________ Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








