[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Re: determining ID-ness in XML
At 8:56 AM +1100 11/7/01, Marcus Carr wrote: >Sure, but why preclude documents from being both well-formed with >IDs and valid at >the same time? Making the two mutually exclusive is totally >unnecessary and could >have a massive impact. The decision to allow documents to be >well-formed (rather >than the less appropriate term "invalid") was to allow documents to be nimble, >used in ways previously not considered. Adding an attribute to the data is >burdening it with a new schema. > 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. -- +-----------------------+------------------------+-------------------+ | Elliotte Rusty Harold | elharo@m... | Writer/Programmer | +-----------------------+------------------------+-------------------+ | The XML Bible, 2nd Edition (Hungry Minds, 2001) | | http://www.ibiblio.org/xml/books/bible2/ | | http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/ | +----------------------------------+---------------------------------+ | Read Cafe au Lait for Java News: http://www.cafeaulait.org/ | | Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/ | +----------------------------------+---------------------------------+
|
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
|