W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2003

Re: why XHTML

From: <tina@greytower.net>
Date: Thu, 26 Jun 2003 01:15:06 +0200 (CEST)
Message-Id: <200306252315.h5PNF7425479@localhost.localdomain>
To: w3c-wai-ig@w3.org

On 25 Jun, Matt May wrote:

> don't understand. The XHTML spec says that it has to parse the document 
> as XML, but doesn't say thou shalt not render if it fails.

  So an XHTML aware user agent should parse the document as XML. It
  would seem that it is, then, what the XML specification calls an "XML
  processor".

  The XHTML specification also states that

    "In order to be consistent with the XML 1.0 Recommendation [XML],
     the user agent must parse and evaluate an XHTML document
     for well-formedness."

  Looking up "well-formedness" in the XML 1.0 Recommendation - which
  XHTML wants to be consistent with - gives us:

    "Definition: A rule which applies to all well-formed XML documents.
     Violations of well-formedness constraints are fatal errors."

  So ... wouldn't it seem that a XHTML processing UA should, indeed,
  treat violations of well-formedness as fatal errors ?
 
-- 
 -    Tina Holmboe                    Greytower Technologies
   tina@greytower.net                http://www.greytower.net/
   [+46] 0708 557 905
Received on Wednesday, 25 June 2003 19:15:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:10 GMT