|
Apr 4, 2008
Juan E. Murillo
1 post
|
Topic: Getting Started with XQuery /
Cannot install book code using eXist
After downloading the example files for the book, I followed the instructions to set up the xQuery code with eXist but I cannot get the data to load to the database. I used eXist because there is no downloadable version of marklogic for Mac OS X (the operating system I use).
I get the following error message when loading default.xqy into the browser and then clicking on the “Load” button – please note that I followed all instructions and did not change any default installation path for eXist:
Error found
Could not locate collection: /pragmatic/code/marklogic [at line 20, column 9]
XQuery Stack Trace local:load-dir(xs:string, xs:string, xs:string, xs:string) 59:38 Java Stack Trace: Class Name Method Name File Name Line org.exist.xquery.functions.xmldb.XMLDBAbstractCollectionManipulator eval XMLDBAbstractCollectionManipulator.java 134 org.exist.xquery.BasicFunction eval BasicFunction.java 68 org.exist.xquery.InternalFunctionCall eval InternalFunctionCall.java 50 org.exist.xquery.AbstractExpression eval AbstractExpression.java 59 org.exist.xquery.PathExpr eval PathExpr.java 242 org.exist.xquery.UserDefinedFunction eval UserDefinedFunction.java 122 org.exist.xquery.FunctionCall evalFunction FunctionCall.java 223 org.exist.xquery.FunctionCall eval FunctionCall.java 161 org.exist.xquery.AbstractExpression eval AbstractExpression.java 59 org.exist.xquery.PathExpr eval PathExpr.java 242 org.exist.xquery.ForExpr eval ForExpr.java 183 org.exist.xquery.BindingExpression eval BindingExpression.java 158 org.exist.xquery.AbstractExpression eval AbstractExpression.java 59 org.exist.xquery.PathExpr eval PathExpr.java 242 org.exist.xquery.EnclosedExpr eval EnclosedExpr.java 68 org.exist.xquery.AbstractExpression eval AbstractExpression.java 59 org.exist.xquery.PathExpr eval PathExpr.java 242 org.exist.xquery.ElementConstructor eval ElementConstructor.java 237 org.exist.xquery.AbstractExpression eval AbstractExpression.java 59 org.exist.xquery.PathExpr eval PathExpr.java 242
|