Why does the ID type require Name values?

  • Thread starter =?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?=
  • Start date
?

=?ISO-8859-15?Q?=22Martin_v=2E_L=F6wis=22?=

The subject says it all: Is there any technical reason why ID
attributes are required to match the Name production?

AFAICT, it would be sufficient to restrict them to Nmtoken (say).

Any insights appreciated.

Regards,
Martin
 
P

Peter Flynn

The subject says it all: Is there any technical reason why ID attributes
are required to match the Name production?

There probably was in 1985. You'd have to ask Charles Goldfarb. He may be
at the XML Conference in Boston in December.

///Peter
 
J

Joe Kesselman

Martin said:
The subject says it all: Is there any technical reason why ID
attributes are required to match the Name production?

That detail is probably inherited from SGML, and might even go back to
GML. If you want to know whether there was any technical reason THEY did
it that way, you're probably going to need to either find the people who
were there at the time or go though old conference papers with -- as
Walt Kelley put it -- a geiger counter and a team of gophers to try to
unearth the relevant discussion.

The Annotated XML Specification, alas, doesn't answer this particular
question, though it does discuss what IDs are good for. (Standard
pointer: http://www.xml.com/axml/testaxml.htm)


I suspect the answers are wholly nontechnical and boil down to "Why
not", "keep it simple", and "this eases interoperation with existing
systems."

Sometimes software engineering trumps computer science, and --
especially when trying to design a spec in less than five years -- you
just need to accept that good enough really is good enough.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top