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

RE: Re: determining ID-ness in XML

  • From: "Champion, Mike" <Mike.Champion@S...>
  • To: xml-dev@l...
  • Date: Wed, 31 Oct 2001 09:40:18 -0500

last name flags


> -----Original Message-----
> From: Elliotte Rusty Harold [mailto:elharo@m...]
> Sent: Wednesday, October 31, 2001 7:47 AM
> To: xml-dev@l...
> Subject: RE:  Re: determining ID-ness in XML
> 
> "is xml+id"  non-uniqueness a well-formedness error, or will it 
> be some sort of
> >low-level validation error? Presumably a well-formedness error, since
> >non-validating parsers have no notion of "validation". 
> 
> This is the one tricky part. It is neither a well-formedness 
> error nor a validity error. It is violation of the xml:id 
> specification, but is in no way a violation of XML 1.0, 
> Namespaces in XML, or Schemas. Parsers would not, at least by 
> default, report such a violation unless a DTD or schema 
> declared that xml:id had type ID, in which case it becomes a 
> normal XML 1.0 or schemas validity error. 
> 
> It would be an error equivalent to xml:base="^^^^" or 
> anything else that is not a legal URI. That is, it is not an 
> XML 1.0 error. The XML parser will generally not flag this. A 
> client application that was aware of the extra semantics 
> attached to xml:id would catch the problem, much like an 
> XLink processor would catch a problem with the above xml:base 
> attribute but a normal XML parser would not. 

Ahhh, that makes sense to me!  And alleviates some of my other concerns; I
can see how it could be layered on top of XML and underneath Schema in the
short run, without causing too much pain in the interim while (presumably)
the various parsers and validators are moving to implement xml+id.

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.