zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #01096
[Bug 867350] Re: mess of serialization params
Marked the bug as "Fixed released" because it was fixed a while ago in
the trunk.
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867350
Title:
mess of serialization params
Status in Zorba - The XQuery Processor:
Fix Released
Bug description:
please, add a few examples in the documentation of
http://www.zorba-xquery.com/doc/zorba-latest/zorba/xqdoc/xhtml/com/zorba-xquery/www/modules/serialize.html#serialize-2 that would make the users life more easier.
Also, there are 3 different ways of setting serialization parameters:
ser:serialize( $items, <output indent="yes" omit-xml-declaration="yes" /> )
fs:write( $file, $content, <indent>yes</indent> )
zu:tidy( $item, '"indent=yes"')
as far as it is possible according to standardization and backwards
compatibility issues it would be great if they were interchangable.
for example:
zu:tidy( $item, <indent>yes</indent> )
zu:tidy( $item, <output indent="yes" omit-xml-declaration="yes" />)
should be valid.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867350/+subscriptions