Passing XQuery parameters into a MarkLogic datasource
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Thu Jan 11, 2007 3:17 am
Passing XQuery parameters into a MarkLogic datasource
Using a transformation scenario with MarkLogic as the datasource, I'm trying to pass a parameter $id into my XQuery. The parameter is composed of numbers but should be treated as a string, and my XQuery has declared it as type xs:string:
When I pass in '0010000000' as my ID, I get:
Is there a way for me to type the parameter, or otherwise indicate that the value is a string and not an integer?
Code: Select all
define variable $id as xs:string external
$id
Code: Select all
100000000
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Hi,
Sorry for the delay
Indeed there were problems correctly interpreting the value of the parameter on MarkLogic.
We fixed the problem, letting the MarkLogic query processor decide the type of the passed parameter.
The fix will be included in the 8.1 maintenance release which will be released probably this month.
Regards,
Radu
Sorry for the delay
Indeed there were problems correctly interpreting the value of the parameter on MarkLogic.
We fixed the problem, letting the MarkLogic query processor decide the type of the passed parameter.
The fix will be included in the 8.1 maintenance release which will be released probably this month.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service