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

Re: About tests 37-41 (headers)

From: Vicente Luque Centeno <vlc@it.uc3m.es>
Date: Thu, 16 Jun 2005 17:34:30 +0200 (CEST)
To: "Roberto Scano (IWA/HWG)" <rscano@iwa-italy.org>
Cc: joeclark@joeclark.org, w3c-wai-gl@w3.org
Message-ID: <Pine.LNX.4.61.0506161728550.29222@violin.it.uc3m.es>

On Wed, 15 Jun 2005, Roberto Scano (IWA/HWG) wrote:

> Note that also this is good:
> h1 h2 h3 h3 h3 h1 h2 h3 h3 h2 h3 h3 h3 h1

This sequence also validates my XQuery expressions :-)

> H1 isn't page title and a web page isn't always like a book's chapter. 
> But i think that all we agree that we cannot have h2 without h1 or h2 
> h4.

I agree (and my XQuery expressions also).

Having no "h2 without h1" is just another way to say:

//h2[preceding::h1 = ()] = ()

On the other hand, having a "h2 h4" sequence breaks the following rule:

//h4[let $h4:=self::h4 return
let $h3:=$h4/preceding::h3[1] return
let $h2:=$h4/preceding::h2[1] return
let $h1:=$h4/preceding::h1[1] return
$h1=() or $h2=() or $h3=() or $h1>>$h2 or $h2>>$h3] = ()

So, I am happy to see that my rules work with your examples :-)

Cheers!

Vicente Luque Centeno
Dep. Ingeniería Telemática
Universidad Carlos III de Madrid
http://www.it.uc3m.es/vlc
Received on Thursday, 16 June 2005 15:34:36 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:37 UTC