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

Re: About tests 37-41 (headers) *wkey

From: Vicente Luque Centeno <vlc@it.uc3m.es>
Date: Fri, 5 May 2006 23:00:15 +0200 (CEST)
To: Johannes Koch <koch@w3development.de>
Cc: w3c-wai-gl@w3.org
Message-ID: <Pine.LNX.4.61.0605052251440.28278@violin.it.uc3m.es>

What kind of errors?

1.- Unacceptable errors that make HTML parsers fail could be checked by a 
sepparate tool.

2.- Acceptable errors that HTML parsers accept imply no problem for 
Schematron, XSLT or XQuery rules.

3.- Acceptable errors that make HTML parsers fail should not exist. If 
they exist, they are a bug in the HTML parser.

4.- Unacceptable errors that HTML parsers accept can be ignored or cheched 
by a sepparate too.

Besides that, both Schematron and XSLT/XQuery rules can be based on ROBUST 
XPath expressions, so even though reliable parsing is not possible, these 
techniques can still be applied. It is only a problem of making them 
robust enough.

Vicente Luque Centeno
Dep. Ingeniería Telemática
Universidad Carlos III de Madrid
http://www.it.uc3m.es/vlc

On Fri, 5 May 2006, Johannes Koch wrote:

>
> Vicente Luque Centeno wrote:
>
>> Schematron or XSLT/XQuery rules can be applied to HTML documents if a HTML 
>> parser (instead of a XML parser) is being used. For instance, my XSLT-based 
>> Web Accessibility evaluator [1] can be applied to HTML pages that are not 
>> XHTML (see the extended interface).
>
> I don't doubt that. But the technique and criterion we're talking about is 
> about documents that contain errors so that reliable parsing is not possible. 
> So Schematron or XSLT/XQuery don't help here.
>
> -- 
> Johannes Koch
> In te domine speravi; non confundar in aeternum.
>                            (Te Deum, 4th cent.)
>
Received on Friday, 5 May 2006 21:00:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:47:46 GMT