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