Re: Relaxed - new HTML validation service based on RELAX NG + Schematron

> No, it reports a lot more bogus errors than the W3C validator, 

Do you have any examples? Our aim is to improve Relaxed in future and to 
add support for compound documents with elements from several 
namespaces. Something which can be hardly managed by DTD based validation.

> particularly with HTML4.  But then again, it's not really an SGML 
> validator, so I wouldn't expect it to do a great job with it.
> 
> Personally, I'd change its name from an HTML validator to XHTML 
> validator, since it only really works with XHTML.

User will get this information when HTML page is validated and he/she is 
also suggested to double check it with SGML based parser.

But you are right that name XHTML validator would be less confusing.

> The only error I could find that this catches, which the W3C validator 
> doesn't, is unencoded ampersands in XHTML.

There are much more things. E.g. compare:

http://validator.w3.org/check?uri=http%3A%2F%2Fkosek.cz%2Ftemp%2Fdemo01.html

http://badame.vse.cz/validator/validate?validator_url_parameter=http%3A%2F%2Fkosek.cz%2Ftemp%2Fdemo01.html&validator_option_parameter=xhtml&validator_process_button_parameter=Validate

The sample page doesn't conform to XHTML specification in at least 4 
aspects. They are catched by Relaxed, but silently ignored by DTD based 
W3C validator.

> Also, what is the purpose of the "dirty parser" option?  Is that for 
> people that don't really want to be told their pages are invalid, so 
> they'll be parsed as tag soup and given a pass regardless?  It seems 
> like a pretty useless option to me, I'd remove it.

Dirty parser option always preprocess input with TagSoup.

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------

Received on Tuesday, 23 August 2005 09:36:28 UTC