In ML 5.0-3.3, this expression throws an exception:

contains(<search:facet-value 
xmlns:search="http://marklogic.com/appservices/search";>Some 
value</search:facet-value>, " ")
=> "XDMP-ARGTYPE ... arg1 is not of type xs:string?"

But the parameter type isn't the problem - somehow it's related specifically to 
the search namespace, since this works:

contains(<search:facet-value xmlns:search="http://some-namespace";>Some 
value</search:facet-value>, " ")
=> true

However, in ML 6.0-1.1, both expressions run without exceptions. Is this a 
regression or a feature, or maybe an old bug that is now fixed in ML 6.0?

-Will
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to