[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: determining ID-ness in XML
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! 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
|