[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [xml-dev] ID-ness in XML
> -----Original Message-----
> From: Elliotte Rusty Harold [mailto:elharo@metalab.unc.edu]
> Sent: Saturday, November 10, 2001 8:41 PM
> To: xml-dev
> Subject: Re: [xml-dev] ID-ness in XML
>
> Adding the processing instruction seems like an additional
> layer of confusion when you're going to use an attribute anyway.
Yes, but this is a venerable SGML trick that allows people who don't control
the DTD to add "pseudo-attributes" to instances without breaking validation.
That's why it seems like such a natural thing to do for various SGML
veterans on this list. The namespaced attribute trick might work just as
well, but since they are grafted on to XML 1.0 and DTD validation can't
exploit namespaces very well, there just isn't the same level of "been
there, done that" experience to draw on.