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

Re: Re: determining ID-ness in XML

  • From: Rob Lugt <roblugt@e...>
  • To: Bob Hutchison <hutch@x...>, xml-dev@l...
  • Date: Thu, 01 Nov 2001 17:02:19 +0000

Re:  Re: determining ID-ness in XML
Bob Hutchinson wrote
>
> I am going to suggest that the id's listed in the <?xml-typeinfo?>
> should be unioned with the currently in-force set of ids.
>

I presume you are advocating unioning the IDs from the DTD with those
created by a <?xml-typeinfo?> PI.  A number of people have voiced concern
about what happens when the PI (or xml:id) contradicts or conflicts with the
DTD.  As Elliotte has pointed out, we only need xml:id in the absence of a
DTD, so why don't we say that xml:id (or <?xml-typeinfo?>) only takes effect
in the absence of a DTD?

Perhaps this is too simplistic, because some xml instances may well make use
of an internal subset to declare entities.  Perhaps a more refined
suggestion would be "use xml-typeinfo only when there is no ATTLIST for the
given element".  Hey, we could even add a validation warning to check that
xml-typeinfo information agrees with the DTD when xml instances are
validated.

p.s.  Even though I'm advocating <?xml-typeinfo?> as the solution, I agree
with Len that we haven't really defined the problem ;-)

~Rob


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-2007 All Rights Reserved.