ID attribute defaults

John E. Simpson simpson at polaris.net
Wed Nov 11 20:44:32 GMT 1998


Thanks for the reply, Tim.

>Yes, that's a plausible scenario in which a defaulted ID attribute 
>might be useful.  Sorry... XML rules it out.

As I understood (but hoped otherwise -- or at least hoped that there'd be
some trick to accomplish the same goal, without having to create
app-specific attributes like Sref to do it). 

>As for my having defaulted the "target" attribute in the annotated
>spec, the "target" is the *same* on every annotation, that's why
>it's defaulted.  Nothing could be more different from an ID attribute.

Yeah, but.... In an element tree in which many elements at the top layer
must be one-of-a-kind, the target would be the same for every
cross-reference, too. So why not default it (or so I thought) with a fixed
ID value?

I hesitate to call this an idee fixe. Probably should have hesitated a bit
longer.

Thanks again.
JES

========================================================
John E. Simpson            | It's no disgrace t'be poor,
simpson at polaris.net        | but it might as well be.
http://www.flixml.org      |            -- "Kin" Hubbard

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list