Hi ALL,
I have an uri that run a sequence to run a xquery (for return) to tamino DB with a parameter (docid) as a string.
URI: /foldername/sequencename.xml&docid=20070323T010127.000Z
XQuery:
for $q in input()/TABLENAME where $q//Identifier = “{$docid}” return $q
Once it hit the Tamino DB it throws an exception:
Exception: "com.softwareag.xbridge.exceptions.XException: TaminoQuery: XQuery failed: Exception: “javax.xml.transform.TransformerException: 20070323T010127.000Z could not be formatted to a number!” in sequence .
How do I resolved this or is there a way to work around it? I think the XQuery still considered the docid as a number not a string. Please help?
Thanks,
Andre