[Zorba-coders] [Bug 932186] Re: Encoding problem with JSON module
** Changed in: zorba Status: Triaged = Invalid -- 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: Invalid 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
[Zorba-coders] [Bug 932186] Re: Encoding problem with JSON module
This appears to be a problem with the serializer -- which is NOT my code, hence not my bug, hence not related to this branch. ** Changed in: zorba Status: New = Triaged ** Changed in: zorba Assignee: Paul J. Lucas (paul-lucas) = William Candillon (wcandillon) -- 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
[Zorba-coders] [Bug 932186] Re: Encoding problem with JSON module
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
[Zorba-coders] [Bug 932186] Re: Encoding problem with JSON module
Any change to improve the error message? I removed the link from the json branch. ** Branch unlinked: lp:~zorba-coders/zorba/feature-json_parser -- 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