Anne van Kesteren wrote: > It would make much more sense, in my humble opinion, to make allow any > character as value with a minimum length of 1 character. With the > exclusion of some control characters I guess. ID values are considered to be names. These are the same rules as for XML names. Why it was decided to make them names instead of name tokens I'm not sure. However, allowing arbitrary strings would cause lots of problems with white space. many contexts in which IDs would be used could not easily deal with values that contain white space, especially after taking into account the baroque rules for attribute value normalization. For instance, it would completely break IDREFS if IDs could contain white space. -- Elliotte Rusty Harold elharo@metalab.unc.edu XML in a Nutshell 3rd Edition Just Published! http://www.cafeconleche.org/books/xian3/ http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosimReceived on Monday, 14 February 2005 17:25:05 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:38 GMT