Re: [xml-dev] regex for element or attr name

From
John Cowan <>
To
Rick Jelliffe <>
Date
2003-12-01T13:31:42Z
ID
<>
Thread
Re: [xml-dev] regex for element or attr name
Rick Jelliffe scripsit:

> (Actually, I don't know why #xHHHH is used here: it would be better to
> use U+HHHH to emphasize that these are characters not codes in the
> external encoding.)

I wasn't about to make a gratuitous change to XML 1.1 to fix this, and
I suspect that XML 1.0 used #xHHHH because that most closely corresponds
to XML's own notation &#xHHHH; without actually being confusable with it.

In any case, as you say, #xHHHH(H) refers to characters, not encodings.

-- 
Even a refrigerator can conform to the XML      John Cowan
Infoset, as long as it has a door sticker       
saying "No information items inside".           http://www.reutershealth.com
        --Eve Maler                             http://www.ccil.org/~cowan