> I'm referring to Section 6.6.3.3. There is a table on p108 > (I'm going from v1.0.1, March 2006) with the following SQL / XPATH > correspondence: > > my:title IS NULL <-> not(@my:title)
Perhaps in sql your perception is the correct one, but in xpath it is not [not(@mytitle)] means that the attribute should be not present. attr mytitle="" is not the same as absent obviously. I am not sure wether the spec is ambiguous in this, perhaps somebody else might elaborate. > > If this interpretation of the spec is not accurate, how do I > get the previous behaviour in v1.4? My initial thought is to > set the property value to null and then test for that, but > I'd like to be sure I'm doing things properly to protect > myself against future changes in behaviour :-) I think we could quite easily change the new code to work like it did before, but I would first like to know how it is supposed to work according the spec. WDOT? -Ard > > Thanks, > > Dean. >
