W3C home > Mailing lists > Public > www-validator-css@w3.org > May 2008

AW: Report page in validation service is not well-formed XML when the validation was successful

From: Svensson, Lars <l.svensson@d-nb.de>
Date: Wed, 28 May 2008 15:07:32 +0200
Message-ID: <6DA97EFF2763174B8BDC409CA1972984074AA528@dbf-ex.AD.DDB.DE>
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>, <www-validator-css@w3.org>

In litteris suis de Mittwoch, 28. Mai 2008 14:55, Jukka K. Korpela
<mailto:jkorpela@cs.tut.fi>scripsit:

> 
> which is a somewhat indirect way of saying "you forgot the quotes,
> dude!" and reflects the fact that the Markup Validator is
> really an SGML
> validator hacked up a bit to sort-of work as an XML validator too.

Well, XML is a subset of SGML so that should work. If I'm not mistaken,
one of the rationales behind XML was to impose stricter rules for the
document structure in order to make parsing and validation easier.

> Then confusion arises because in
> <a href=http://www.w3.org/TR/CSS21/>
> the first slash is taken as part of markup...
> 
> But regarding the CSS Validator, it is sufficient that the markup is
> fixed to use quotes (and the spurious "</a>" is removed).

Yup.

> Oh wait... there's still an error on lines 105 to 107:
> 
>        <ul id="lang_choice">
> 
>        </ul>
> 
> At least one <li> element must be present, or the <ul> element
> needs to
> be removed.

Yes, that's necessary to make the HTML valid, but not in order to have
well-formed XML (which is my problem right now...).

Lars

-- 
Dr. Lars G. Svensson
Deutsche Nationalbibliothek
Informationstechnik
Adickesallee 1
60322 Frankfurt
http://www.d-nb.de/
Received on Wednesday, 28 May 2008 13:08:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:20 GMT