Subject:Using Mark Logic processor causes system to hang Author:Bill Binole Date:28 Apr 2006 02:13 PM
I have Stylus Studio set up to use the Mark Logic processor with my Xqueries. This appears to work fine so long as the database is small. When I try and set the scenario to point to a database that has a lot of data the system goes out to lunch....100% processor usage, and the only way out is to kill Stylus Studio. What is it trying to do and why? It appears to be trying to read in information about the data. How can I turn whatever it is trying to do off. All I want to do is to run my xquery against the data.
Subject:Using Mark Logic processor causes system to hang Author:Ivan Pedruzzi Date:28 Apr 2006 03:14 PM
I Bill,
We are aware of the problem. Stylus Studio tries to infer the document structure of any referred documents to populate the tree in the right inside of the XQuery editor. Unfortunately Marc Logic doesn't offer any API to for that.
One thing you could do to try is to slightly change your query to prevent it.
Assume you have
doc("myfile.xml")...
you could change to
let $filename := "myfile.xml"
return doc($filename)...