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

Re: Re: determining ID-ness in XML


orders dtd
Elliotte Rusty Harold wrote
>
>
> Nobody is suggesting they be mutually exclusive! Nobody is precluding
> anything! If you want your documents that contain
> xml:id/xlink:label/id/shazbot attributes to be valid, then all you
> have to do is declare them in the DTD like any other attribute. If
> you don't care about validity, you don't have to do this. It really
> is that simple. I don't know any other way to say it.

Marcus can correct me if I'm wrong, but the point that I think he is making
is this:

Let's say we have an xml document "order.xml" that is valid against the
Widget Orders DTD.  Company AAA created this file and validated it against
the DTD.  The document is then sent to Widget Market, a middle man who does
not accept xml files with DTDs, so the DOCTYPE is stripped off.  Widget
Market then matches the order with one from BBB, so they send the file on to
them.  BBB want to make sure the file is valid, so they re-attach the DTD
and validate it.

Now, the document has gone from being valid, to well-formed, to valid again.
If Widget Market wanted to be able to address portions of the file using
xml:id, then this would require a change to Widget Orders DTD.  But Widget
Standard Org only updates the DTD every 100 years, so they're out of luck.

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