Actually, it's not a problem with the serializer at all. Code-point
55357 is illegal in XML 1.0 which is that Zorba serializes as by
default. You need to specify that your query is XML 1.1.

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/932186

Title:
  Encoding problem with JSON module

Status in Zorba - The XQuery Processor:
  Triaged

Bug description:
  Running the query attached using the following command line:
  ~/28msec/zorba/build/bin/zorba -q test.xq -f

  Results in the following error:
  dynamic error [err:FOCH0001]: "55357": invalid code point 

  However the following command:
  ~/28msec/zorba/build/bin/zorba -q test.xq -f --serialize-text
  Works fine.

  Removing the json:serialize() function call in the query prevents the
  error to happen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/932186/+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