Thank you so much. Yes it was in the Schema. My issue is now resolved. Best Regards, Kashif Khan Sr. Solutions Architect Houghton Mifflin Harcourt, Orlando, FL Office: (407) 345-3420 Cell: (407) 949-4697
"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 From: Danny Sokolsky <[email protected]<mailto:[email protected]>> Reply-To: General MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Tue, 19 Jul 2011 17:42:35 -0400 To: General MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Subject: Re: [MarkLogic Dev General] Issue with running a query Is there an in-scope schema for pce:sequence-type? Maybe “Unit” is a valid value according to that schema and “unit” is not? -Danny From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Khan, Kashif Sent: Tuesday, July 19, 2011 2:17 PM To: [email protected]<mailto:[email protected]> Subject: [MarkLogic Dev General] Issue with running a query 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 [email protected] http://developer.marklogic.com/mailman/listinfo/general
