[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Common Sense approach to ID and IDness
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> to <!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. -- Regards, Marcus Carr email: mrc@a... ___________________________________________________________________ Allette Systems (Australia) www: http://www.allette.com.au ___________________________________________________________________ "Everything should be made as simple as possible, but not simpler." - Einstein
|
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
|