Hi All,

I've encountered a problem while moving from 3.2 to 4.1. It seems like XQuery 
dialect 1.0-ml is handling ampersand slightly different from 0.9-ml.

Suppose I have the file:

<root>
                <item type="title">Radiology &amp; Ultrasound</item>
</root>

Located in /data/store/items/

I am writing a simple query just to illustrate the problem:

xdmp:directory("/data/store/items/", "infinity")//it...@type='title'][. = 
'Radiology &amp; Ultrasound']

Under 3.2 it returns me the <item> node. Great! But under 4.1 I just get the 
empty sequence (replacing &amp; with &#38; gives no effect). So could anyone 
please suggest another idea of matching ampersand-containing strings in 4.1 
environment?

Thanks in advance,
Van
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general

Reply via email to