W3C home > Mailing lists > Public > www-validator@w3.org > June 2001

Re: Non-SGML Char Refs

From: Tim Bagot <tsb-w3-validator-0004@earth.li>
Date: Fri, 8 Jun 2001 17:41:59 +0000 (UTC)
To: "'www-validator@w3.org'" <www-validator@w3.org>
Message-ID: <Pine.LNX.4.33.0106081730080.2953-100000@windle.hack>
At 2001-06-08T09:21-0700, Thanasis Kinias wrote:-

> The intent of my original post (which was admittedly not entirely clear) was
> to find out why the validator shows exactly the opposite of this:  it accepts
> the characters in HTML4 but complains in XHTML.  (WDG's, BTW, complains about
> them under HTML4 DTDs, too.).
> I don't think these can be valid code positions in XML, because an XML doc is
> also a SGML doc, so if SGML disallows them XML must also, no?

SGML per se does not disallow them; the SGML declaration for HTML does.
They are not explicitly forbidden by XML, however[1]:-

  Legal characters are tab, carriage return, line feed, and the legal
  graphic characters of Unicode and ISO/IEC 10646.

The characters in question are not graphic characters in Unicode, and
therefore not legal in XML.

Tim Bagot

[1] <http://www.w3.org/TR/REC-xml#dt-character>
Received on Friday, 8 June 2001 13:42:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:30 UTC