I am having issue running the following query

/pce:productSet[pce:bodymatter/pce:sequences/pce:sequence/pce:sequence-type = 
"unit"]

But if I change the query to use "unit" with a capital "U" it works fine. So 
the query below work fine

/pce:productSet[pce:bodymatter/pce:sequences/pce:sequence/pce:sequence-type = 
"Unit"]


Here is the error that I get.
=====================
[1.0-ml] XDMP-LEXVAL: pce:("unit") -- Invalid lexical value "unit"

Stack trace:

line 5:
3: declare namespace pce = "http://pcenamespace";;
4:
5: /pce:productSet[pce:bodymatter/pce:sequences/pce:sequence/pce:sequence-type 
= "unit"]

xdmp:eval("xquery version "1.0-ml";
import module 
namesp...", (), <options 
xmlns="xdmp:eval"><database>6048470272743008717</database><modules>297543754947072...</options>)

in /eval.xqy line 93:





Best Regards,
Kashif Khan

"The water you touch in the river is the last of that which has passed and the 
first of that which is coming" --Leonardo da Vinci


_______________________________________________
General mailing list
General@developer.marklogic.com
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to