W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2003

Re: XML parsing error

From: Christoph Schneegans <Christoph@Schneegans.de>
Date: Fri, 11 Jul 2003 18:45:07 GMT
To: <www-amaya@w3.org>
Message-ID: <ben7ki.3es.1@mail.christoph.schneegans.de>

John Russell wrote:

> <img src="foobar.gif"alt="special picture" />

This fragment is indeed not well-formed, there must be whitespace before
"alt", cf. <http://www.w3.org/TR/REC-xml#NT-STag> and
<http://www.w3.org/TR/REC-xml#NT-EmptyElemTag>. The W3C validator has some
limitations concerning XML, cf. <http://openjade.sourceforge.net/doc/xml.htm>,
so it's probably a bad idea to use it for XHTML validation. XML schema
validators work much better, e.g. try
Additional XHTML schemas are available at <http://www.w3.org/TR/xhtml1-schema/>.

Received on Friday, 11 July 2003 14:46:21 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:28 UTC