[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Validating XML documents containing xml:*


xml 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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.