[XML-SIG] Re: Issues with Unicode type

Daniel Veillard veillard@redhat.com
Mon, 23 Sep 2002 18:40:57 -0400


On Tue, Sep 24, 2002 at 12:21:25AM +0200, Martin v. Loewis wrote:
> Daniel Veillard <veillard@redhat.com> writes:
> 
> >   No it's not it's a well formed document. Strictly speaking you have
> > either well formed or not, there is not other definition, and that definition
> > is given in the XML specification.
> 
> It's ill-formed: it contains illegal characters, according to section
> 2.2 of http://www.w3.org/TR/2000/REC-xml-20001006:
> 
> "Legal characters are tab, carriage return, line feed, and the legal
> characters of Unicode and ISO/IEC 10646. "

  and goes on to say...
    "Consequently, XML processors must accept any character in the
     range specified for Char. "

It's a must with the IETF semantic (section 1.2).
You can call it "ill-formed" if you want, it is well-formed XML-wise and
processors are required to accept those !

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/