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

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 UTC