** Changed in: zorba
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to