[Zorba-coders] [Bug 930573] Re: JSON module snelson parsing problem

2012-03-26 Thread Paul J. Lucas
** 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/930573

Title:
  JSON module snelson parsing problem

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  The following query:

  import module namespace json = 
"http://www.zorba-xquery.com/modules/converters/json";;
  import module namespace file = "http://expath.org/ns/file";;

  let $tweet := file:read-text("tweet.json")
  let $tweet := json:parse($tweet)
  let $tweet := json:serialize($tweet)
  return
$tweet

  Where tweet.json (in attachement) comes from the twitter stream API,
  returns:

  JSON serialization error [zerr:ZJSE0005]: "pair": illegal child element of 
"array" type; must be "item" 
  =
  json:serialize#1  
  /parse.xq at line 6 column 15

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/930573/+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 930573] Re: JSON module snelson parsing problem

2012-02-14 Thread William Candillon
** Changed in: zorba
   Status: In Progress => Fix Committed

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

Title:
  JSON module snelson parsing problem

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  The following query:

  import module namespace json = 
"http://www.zorba-xquery.com/modules/converters/json";;
  import module namespace file = "http://expath.org/ns/file";;

  let $tweet := file:read-text("tweet.json")
  let $tweet := json:parse($tweet)
  let $tweet := json:serialize($tweet)
  return
$tweet

  Where tweet.json (in attachement) comes from the twitter stream API,
  returns:

  JSON serialization error [zerr:ZJSE0005]: "pair": illegal child element of 
"array" type; must be "item" 
  =
  json:serialize#1  
  /parse.xq at line 6 column 15

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/930573/+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 930573] Re: JSON module snelson parsing problem

2012-02-14 Thread Paul J. Lucas
The query works with the tweet.json you attached.

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

Title:
  JSON module snelson parsing problem

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  The following query:

  import module namespace json = 
"http://www.zorba-xquery.com/modules/converters/json";;
  import module namespace file = "http://expath.org/ns/file";;

  let $tweet := file:read-text("tweet.json")
  let $tweet := json:parse($tweet)
  let $tweet := json:serialize($tweet)
  return
$tweet

  Where tweet.json (in attachement) comes from the twitter stream API,
  returns:

  JSON serialization error [zerr:ZJSE0005]: "pair": illegal child element of 
"array" type; must be "item" 
  =
  json:serialize#1  
  /parse.xq at line 6 column 15

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/930573/+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 930573] Re: JSON module snelson parsing problem

2012-02-13 Thread William Candillon
Please never mark a bug that I reported as fix committed. Always assign it back 
to me for closing.
As a good illustration of my point, the parse/serialize function is still 
completely broken.
I will make a more detailled report later.

** Changed in: zorba
   Status: Fix Committed => In Progress

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

Title:
  JSON module snelson parsing problem

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  The following query:

  import module namespace json = 
"http://www.zorba-xquery.com/modules/converters/json";;
  import module namespace file = "http://expath.org/ns/file";;

  let $tweet := file:read-text("tweet.json")
  let $tweet := json:parse($tweet)
  let $tweet := json:serialize($tweet)
  return
$tweet

  Where tweet.json (in attachement) comes from the twitter stream API,
  returns:

  JSON serialization error [zerr:ZJSE0005]: "pair": illegal child element of 
"array" type; must be "item" 
  =
  json:serialize#1  
  /parse.xq at line 6 column 15

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/930573/+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 930573] Re: JSON module snelson parsing problem

2012-02-13 Thread Paul J. Lucas
** Changed in: zorba
   Status: In Progress => Fix Committed

** Branch linked: 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/930573

Title:
  JSON module snelson parsing problem

Status in Zorba - The XQuery Processor:
  Fix Committed

Bug description:
  The following query:

  import module namespace json = 
"http://www.zorba-xquery.com/modules/converters/json";;
  import module namespace file = "http://expath.org/ns/file";;

  let $tweet := file:read-text("tweet.json")
  let $tweet := json:parse($tweet)
  let $tweet := json:serialize($tweet)
  return
$tweet

  Where tweet.json (in attachement) comes from the twitter stream API,
  returns:

  JSON serialization error [zerr:ZJSE0005]: "pair": illegal child element of 
"array" type; must be "item" 
  =
  json:serialize#1  
  /parse.xq at line 6 column 15

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/930573/+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 930573] Re: JSON module snelson parsing problem

2012-02-13 Thread Paul J. Lucas
** Summary changed:

- JSON module serialization problem
+ JSON module snelson parsing problem

** Changed in: zorba
   Status: New => In Progress

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

Title:
  JSON module snelson parsing problem

Status in Zorba - The XQuery Processor:
  In Progress

Bug description:
  The following query:

  import module namespace json = 
"http://www.zorba-xquery.com/modules/converters/json";;
  import module namespace file = "http://expath.org/ns/file";;

  let $tweet := file:read-text("tweet.json")
  let $tweet := json:parse($tweet)
  let $tweet := json:serialize($tweet)
  return
$tweet

  Where tweet.json (in attachement) comes from the twitter stream API,
  returns:

  JSON serialization error [zerr:ZJSE0005]: "pair": illegal child element of 
"array" type; must be "item" 
  =
  json:serialize#1  
  /parse.xq at line 6 column 15

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