** Branch linked: lp:~zorba-coders/zorba/bug_867198

You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.

  JSON converter module not proccesing strings with '<'

Status in Zorba - The XQuery Processor:

Bug description:
  I run the next query:

  import module namespace 
  declare variable $json-value = '{"html":"<b>bold</b>"}';

  And I get then next error:
  converters\json.xq>:158,3: dynamic error [err:FODC0006]: invalid content 
passed to fn:parse-xml(): loader parsing error: StartTag: invalid element name

  I've noticed that this problem occurs with any string containing '<' so for 
example if we change the second line for
  declare variable $json-value :=  '{"html":"1 < 2"}'
  it still crashes in the same way.

To manage notifications about this bug go to:

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