W3C home > Mailing lists > Public > www-forms@w3.org > January 2002

RE: New WD, Section 2.7 Complete Document

From: Micah Dubinko <MDubinko@cardiff.com>
Date: Wed, 9 Jan 2002 16:46:57 -0800
Message-ID: <E840F0B7E6189547BDB91DA8BF2228AB28C0FD@csmail.cardiff.com>
To: "'AndrewWatt2001@aol.com'" <AndrewWatt2001@aol.com>, www-forms@w3.org

Correct on both counts. This is fixed for our next publish.

Since 'relevant' expects a boolean result, the correct syntax is:
relevant="my:payment/@as = 'credit'" 


-----Original Message-----
From: AndrewWatt2001@aol.com [mailto:AndrewWatt2001@aol.com]
Sent: Tuesday, December 11, 2001 5:51 AM
To: www-forms@w3.org
Subject: Re: New WD, Section 2.7 Complete Document

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, 

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 Wednesday, 9 January 2002 19:49:08 UTC

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