[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xml-dev] Common Sense approach to ID and IDness
- From: Marcus Carr <firstname.lastname@example.org>
- To: Don Park <email@example.com>
- Date: Tue, 06 Nov 2001 11:07:54 +1100
Don Park wrote:
> IDISID Proposal: Any attributes named "id", "ID", or "Id" are of type ID
> regarless of namespace.
Not infrequently, the scope established by the instance requires one to change
an attribute declaration from something like:
<!ATTLIST foo id ID #REQUIRED>
<!ATTLIST foo id CDATA #REQUIRED>
Otherwise, you get overlapping ID values for whatever reason - you included a
section from another document from the same namespace for instance. The DTD has
never been an ideal place to define ID and IDREFs, IMHO - it lacks scope. It
provides you with a suggestion, based on a certain configuration of a document.
It lacks dynamism.
Marcus Carr email: firstname.lastname@example.org
Allette Systems (Australia) www: http://www.allette.com.au
"Everything should be made as simple as possible, but not simpler."