W3C home > Mailing lists > Public > www-forms@w3.org > December 2001

Re: New WD, Section 2.7 Complete Document

From: <AndrewWatt2001@aol.com>
Date: Tue, 11 Dec 2001 08:50:38 EST
Message-ID: <133.5fec2c9.2947692e@aol.com>
To: www-forms@w3.org
In a message dated 11/12/01 13:24:14 GMT Standard Time, 
roman.huditsch@hico.com writes:

> Reading the new WD, I noticed that in the example in Section 2.7 there
> are some brackets missing. I think that 
>     relevant="my:payment/@as == 'credit'"
> should be replaced by 
>     relevant="my:payment/[@as == 'credit']"  
> as it is written in section 2.5. 
> But I must confess that I didn't try wheater it would work in that way,
> too.

Hi Roman,

I think there are errors in your suggested correction, as well as in the new 

First it is, as I understand it, illegal in XPath to follow a "/" with a 

Second the use of "==" as an equality test is not an XPath 1.0 construct, to 
the best of my knowledge. In XPath "=" is used and I think the WD needs to be 
corrected in that regard, since I understand the intent is to follow XPath 
1.0 syntax.

Andrew Watt
Received on Tuesday, 11 December 2001 08:50:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:05 UTC