OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xml-dev] 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@metalab.unc.edu | 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/     |