W3C home > Mailing lists > Public > www-validator@w3.org > August 2007

Re: (Non-)Support for XML 1.1

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Sat, 04 Aug 2007 12:41:57 -0400
Message-ID: <46B4AC55.6090708@metalab.unc.edu>
To: invalid@csc.jp
CC: www-validator@w3.org

invalid@csc.jp wrote:

> The Validator says "This Page Is well-formed XML!".  So far, so good.
> But when I validate the following XML 1.1 document:
> 
> ====================
> <?xml version="1.1"?>
> <あ。/>
> ====================
> 
> Then the Validator emits all sorts of bogus error messages.  Both
> documents are well-formed XML 1.1 documents.  Apparently
> the underlying XML processor doesn't support XML 1.1 (yet).
> 

Actually I suspect the results you see are because the document is *NOT* 
a valid XML 1.1 document. It has no DOCTYPE and cannot be valid, even if 
it is well-formed.

-- 
Elliotte Rusty Harold  elharo@metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
Received on Saturday, 4 August 2007 16:42:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:25 GMT