[XML-SIG] Re: Issues with Unicode type

Thomas B. Passin tpassin@comcast.net
Sat, 28 Sep 2002 10:44:53 -0400


[Henry S. Thompson]

> > The XML Namespaces Rec says that an NCName is
> >
> >  NCName ::= (Letter | '_') (NCNameChar)*
> >
> > but you have it equivalent to
> >
> >  NCName ::= (NCNameChar) (NCNameChar)*
>
> I _think_ I have that right -- Name is defined as
>
>  <simpleType name="Name">
>   <restriction base="token">
>     <pattern value="u'[_:A-Za-z . . .
>
> and the above effectively _subtracts_ the : from that, leaving the _
> and all the Letters.
>
Yes, but it also allows all the digits for the first character.  In the XML
and Namespaces Recs, the first character is different from the rest and does
not allow them.  Digits are defined as

 Digit    ::=    [#x0030-#x0039] | [#x0660-#x0669] | [#x06F0-#x06F9] |
[#x0966-#x096F] | [#x09E6-#x09EF] | [#x0A66-#x0A6F] | [#x0AE6-#x0AEF] |
[#x0B66-#x0B6F] | [#x0BE7-#x0BEF] | [#x0C66-#x0C6F] | [#x0CE6-#x0CEF] |
[#x0D66-#x0D6F] | [#x0E50-#x0E59] | [#x0ED0-#x0ED9] | [#x0F20-#x0F29]

Regards,

Tom P