w3c / qt3tests

Tests for XPath and XQuery
27 stars 17 forks source link

K2-ConText-18 dependency #47

Closed benibela closed 1 year ago

benibela commented 2 years ago
 <dependency type="spec" value="XQ10+"/>
 <test><![CDATA[count(string(text { }))]]></test>

text { } is a syntax error before xq3.1

Swapnil-2502 commented 1 year ago

@benibela Could you please elaborate it .

michaelhkay commented 1 year ago

The comment is correct, XQuery 3.0 and earlier did not allow the expression within the braces to be omitted.

michaelhkay commented 1 year ago

Fixed.