- From: James Clark <jjc@jclark.com>
- Date: Wed, 06 Dec 2000 08:48:24 +0700
- To: www-xml-schema-comments@w3.org
"Biron,Paul V" wrote: > (BTW, my reading of of production [84] from XML 1.0 equates "name start > character" with [\p{L}\p{Nl}:_], which is how \i is defined. Could it be > that that is not the correct translation of name start character and hence, > why you didn't realize that there was such an escape?) That's not the correct translation. Name start characters in XML don't match up nicely to any Unicode categories (for example, compatability characters and characters with a compatability decomposition are disallowed). The end of Appendix B of the XML Rec has a section describing the relationship. You can probably do it with a subtraction from \c, but it would be hairy. Something like: [\c-[-\.\p{M}\p{Lm}\p{Nd}]-[ʻ-ˁՙۥۦ]] Simpler to describe it as the characters allowed as the first character of an XML 1.0 _Name_ (eg _Letter_ or '_' or ':'). James
Received on Wednesday, 6 December 2000 05:48:53 UTC