Trouble with XQuery run in EMC xDB
Posted: Tue Sep 18, 2012 6:18 pm
I'm struggling with something that should be very simple. Running xDB 10.1 and oXygen 12.2.
The following XQuery executes fine when run within a transformation scenario configured to xDB.
let $foo := doc("/mylib/mydoc.xml")
return $foo
Returns the contents of that document that is stored in xdb.
The following XQuery, while running fine within the xdb admin tool and also from the command line, returns an empty sequence when run from the transformation scenario:
let $foo := doc("http://rss.cnn.com/rss/cnn_topstories.rss")
return $foo
Has anyone else had any issues with this?
The following XQuery executes fine when run within a transformation scenario configured to xDB.
let $foo := doc("/mylib/mydoc.xml")
return $foo
Returns the contents of that document that is stored in xdb.
The following XQuery, while running fine within the xdb admin tool and also from the command line, returns an empty sequence when run from the transformation scenario:
let $foo := doc("http://rss.cnn.com/rss/cnn_topstories.rss")
return $foo
Has anyone else had any issues with this?