W3C home > Mailing lists > Public > public-xml-core-wg@w3.org > March 2013

Re: fully normalized unicode

From: Henry S. Thompson <ht@inf.ed.ac.uk>
Date: Thu, 21 Mar 2013 09:31:38 +0000
To: Paul Grosso <paul@paulgrosso.name>
Cc: public-xml-core-wg@w3.org
Message-ID: <f5bhak5drph.fsf@calexico.inf.ed.ac.uk>
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 GMT

This archive was generated by hypermail 2.3.1 : Thursday, 21 March 2013 09:32:21 GMT