As far as I can tell, the only valid value for xs:ID type is an alphabetic character. Is this correct? Why? Every time I try to use id="1" it tells me that's not a valid type. I believe it can only take an NCName type data which is alphabetic characters. What?! Why would schemas NOT allow numeric IDs? Isn't that 90% of all the IDs everyone uses? [ March 11, 2003: Message edited by: Dan Bizman ]
Leverager of our synergies
Joined: Aug 26, 2000
ID only needs to start from a letter, so you can have IDs like K12345, for example. No idea why such a rule :roll:
Thanks, that's my question as wel. How on earth did it ever make sense to someone to say, "hmmm, let's make it so no one can use an integer or long as an ID. Wouldn't that make our schema so much more powerful?" I don't get it.