Re: fully normalized unicode

You're fine, Paul -- I suspect my example was unnecessarily obscure.

There are _two_ invocations of rxp in my example.  What's not at all
obvious is that the error message comes from the second of those.
What I should have done, to be clear, is as follows:

    > cat c.xml

    <c>&#x338;</c>

    > (echo "<?xml version='1.1'?>" ; rxp c.xml)> cc.xml

    > cat cc.xml

    <?xml version='1.1'?>
    <c≯</c>

    > rxp -U 1 cc.xml

    <?xml version="1.1" encoding="UTF-8"?>
    Error: pcdata not normalized
     in unnamed entity at line 2 char 6 of file:///tmp/cc.xml

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

Received on Thursday, 21 March 2013 09:32:20 UTC