xqs.setProperty("databaseName", m_databaseName);
xqs.setProperty("user", m_administratorName);
XQStaticContext xqsc;
m_conn = (XQConnection2) xqs.getConnection(m_administratorName, password);
Run xquery :
==========
//got this query from client side
String xQuery = "for $article in doc('6301904f80000114/0601904f80007547.xml') return $article";
XQPreparedExpression xqPreparedExpr = null;
XQResultSequence resultSeq = null;
xqPreparedExpr = m_conn.prepareExpression(xQuery);
resultSeq = xqPreparedExpr.executeQuery();
running doc(...) xquery using above java program is working fine, if we open basexgui.bat and open database in GUI. otherwise throw error message. Is there any workaround to solve this doc(...) xquery.