zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #04264
[Bug 921628] Re: Text serialization with XQJ
here is a copy of the standard:
http://www.xqjapi.com/javadoc/javax/xml/xquery/XQConnection.html#close()
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/921628
Title:
Text serialization with XQJ
Status in Zorba - The XQuery Processor:
New
Bug description:
With the XQJ branch, the following program:
XQDataSource xqds = new XQDataSource();
XQConnection xqc = xqds.getConnection();
Properties serializationProps = new java.util.Properties();
serializationProps.setProperty("method", "text");
XQExpression xqe;
XQSequence xqs;
xqe = xqc.createExpression();
xqs = xqe.executeQuery("(<foo />, <bar />)");
int i = 1;
while (xqs.next()) {
FileOutputStream file;
xqs.writeItem(System.out, serializationProps);
}
Outputs:
<foo/><bar/>i = 0 String file:/// is still in the pool
Zorba Internal Fatal Error in /Users/wcandillon/tmp/xqj/src/store/naive/string_pool.cpp:42:
"count == 0": condition failed: 1 strings remain in the string pool
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/921628/+subscriptions
References