W3C home > Mailing lists > Public > xml-editor@w3.org > July to September 2000

clause 2.3

From: Karlsson Kent - keka <keka@im.se>
Date: Mon, 11 Sep 2000 15:52:20 +0200
Message-ID: <C110A2268F8DD111AA1A00805F85E58DA68920@ntgbg1>
To: 'xml-editor@w3.org' <xml-editor@w3.org>
clause 2.3 currently says:

Names and Tokens
[4]    NameChar    ::=     Letter | Digit | '.' | '-' | '_' | ':' |
CombiningChar | Extender 
[5]    Name    ::=    (Letter | '_' | ':') ( NameChar)* 
[6]    Names    ::=     Name (#x20 Name)* /* [E62] */ 
[7]    Nmtoken    ::=    (NameChar)+ 
[8]    Nmtokens    ::=    Nmtoken (#x20 Nmtoken)* /* [E62] */ 

E62 says:
Change productions [6] Names and [8] Nmtokens to use #x20 (a single space
character)
instead of S:
"[6] Names ::= Name (#x20 Name)*"
"[8] Nmtokens ::= Nmtoken (#x20 Nmtoken)*" 
Rationale: 
This change is necessary to preserve SGML compatibility. In principle it
makes previously valid documents invalid, but it is believed that only
contrived documents, not real ones, are affected. 


Suggestion: go back to using S instead of just #x20, but add a sentence:
For compatibility, only a single space (#x20) should be used as separator
in Names and Nmtokens.


		/Kent Karlsson
Received on Monday, 11 September 2000 09:54:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:31 GMT