Hi there,
By default, BaseX 8.0 will use the new "adaptive" serialization method [1], which will be included in the new serialization spec:
* It allows you to serialize attributes, namespace and function items (including maps and arrays) * Atomic values will not be escaped anymore. * Items will be separated with newlines
The new default can already be tested [2]. As an example, the following query...
"me & you", map { "B": "C" }, <x y='z'/>/@y
…will be serialized as follows:
me & you { "B": "C" } y="z"
Please be aware that the new default serialization may generate different results, so please check your existing applications when switching to the new version!
Cheers, Christian
[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=27498 [2] http://files.basex.org/releases/latest
Christian,
Halleluja.
Two remarks: 1. don't see the adaptive mode as default. 2. The serialized output for function is minimal, moreover close to none. Since I use closure-functions for all of my internal datastructures, some more information would be very welcome, see attachment for an example.
Cheers,
Rob
-----Oorspronkelijk bericht----- Van: basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] Namens Christian Grün Verzonden: maandag 26 januari 2015 12:32 Aan: BaseX Onderwerp: [basex-talk] Adaptive serialization
Hi there,
By default, BaseX 8.0 will use the new "adaptive" serialization method [1], which will be included in the new serialization spec:
* It allows you to serialize attributes, namespace and function items (including maps and arrays) * Atomic values will not be escaped anymore. * Items will be separated with newlines
The new default can already be tested [2]. As an example, the following query...
"me & you", map { "B": "C" }, <x y='z'/>/@y
…will be serialized as follows:
me & you { "B": "C" } y="z"
Please be aware that the new default serialization may generate different results, so please check your existing applications when switching to the new version!
Cheers, Christian
[1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=27498 [2] http://files.basex.org/releases/latest
--- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. http://www.avast.com
Hi Rob,
- don't see the adaptive mode as default.
Where would you like, or expect, to see it?
- The serialized output for function is minimal, moreover close to none. Since I use closure-functions for all of my internal datastructures, some more information would be very welcome, see attachment for an example.
I invited you to create a new bug in the W3 issue tracker. You can refer to the original entry [1] and indicate how you like the output to be extended.
Hope this helps, Christian
This message arrived in my inbox. Might want to check the user database...
----- On Jan 28, 2015, at 4:36 AM, Christian Grün christian.gruen@gmail.com wrote:
Hi Rob,
- don't see the adaptive mode as default.
Where would you like, or expect, to see it?
- The serialized output for function is minimal, moreover close to none. Since I use closure-functions for all of my internal datastructures, some more information would be very welcome, see attachment for an example.
I invited you to create a new bug in the W3 issue tracker. You can refer to the original entry [1] and indicate how you like the output to be extended.
Hope this helps, Christian
basex-talk@mailman.uni-konstanz.de