From: Wolfgang M. <sb...@we...> - 2004-02-21 17:58:02
|
> But in other instances, I'd like to be able to make the predicate an > expression matching an attribute value. Since in the above instance the > form I want to match, as well as being the first one, also has the unique > value "lemma" for its type attribute, I expected to get the same result by > attempting to match that attribute value, but when I try that, the XQuery > parser objects. If I change the above to > > <hit lemma="{$entry/head/form[@type='lemma']/orth}"> > > I get > > XMLDBException occurred: error found while executing expression: unexpected > char: ''' This is caused by a bug in the lexer. I fixed it in my local code. I will post an updated snapshot on monday. Wolfgang |