[Zorba-coders] [Bug 867344] Re: Implementation of fn:parse and fn:serialize planned?

2011-11-22 Thread Gabriel Petrovay
** Changed in: zorba
   Status: New = 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/867344

Title:
  Implementation of fn:parse and fn:serialize planned?

Status in Zorba - The XQuery Processor:
  Fix Released

Bug description:
  Are there plans to implement functions to parse and serialize XML according 
to the W3C standard? That would be great!
  http://www.w3.org/TR/xpath-functions-11/#func-parse
  http://www.w3.org/TR/xpath-functions-11/#func-serialize

  Best regards
  Mike

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867344/+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 867344] Re: Implementation of fn:parse and fn:serialize planned?

2011-10-14 Thread Sorin Marian Nasoi
** Changed in: zorba
 Assignee: nobody (nobody-users) = Nicolae Brinza (nbrinza)

** Changed in: zorba
 Assignee: Nicolae Brinza (nbrinza) = (unassigned)

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

Title:
  Implementation of fn:parse and fn:serialize planned?

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Are there plans to implement functions to parse and serialize XML according 
to the W3C standard? That would be great!
  http://www.w3.org/TR/xpath-functions-11/#func-parse
  http://www.w3.org/TR/xpath-functions-11/#func-serialize

  Best regards
  Mike

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867344/+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 867344] Re: Implementation of fn:parse and fn:serialize planned?

2011-10-14 Thread Sorin Marian Nasoi
Gabriel, can you please verify and close this bug if this is fixed?

The fn:parse-xml seems to be implemented according to the spec.

I have attached a working example for fn:serialize.
The only difference between the spec:
http://www.w3.org/TR/xpath-functions-30/#func-serialize

and the implementation in Zorba is the way the parameters are set:

In the spec they are suppose to be set with:
output:serialization-parameters
  output:omit-xml-declarationyes/output:omit-xml-declaration
/output:serialization-parameters

While in Zorba they are set like this:
output:serialization-parameters
  output:omit-xml-declaration value=yes /
/output:serialization-parameters

If Zorba is correct than it means the W3C spec is wrong and we should
raise a bug against the spec, right?

** Attachment added: This is a fn:serialize example taht works in Zorba
   
https://bugs.launchpad.net/zorba/+bug/867344/+attachment/2543989/+files/fn_serialize_example.xq

** Changed in: zorba
 Assignee: (unassigned) = Gabriel Petrovay (gabipetrovay)

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

Title:
  Implementation of fn:parse and fn:serialize planned?

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Are there plans to implement functions to parse and serialize XML according 
to the W3C standard? That would be great!
  http://www.w3.org/TR/xpath-functions-11/#func-parse
  http://www.w3.org/TR/xpath-functions-11/#func-serialize

  Best regards
  Mike

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