<div dir="ltr">Hi all,<div><br></div><div>Many thanks, as always, for the very helpful feedback here.</div><div><br></div><div>I have noticed that Saxon, eXist, and BaseX all serialize the empty sequence `()` not as `()` but instead as the empty string ``.  Sample code:</div><div><br></div><div>  serialize((), map { "method": "adaptive" })<br></div><div><br></div><div>I was expecting to see `()` because when serializing a map entry, the empty sequence is serialized as `()`:</div><div><br></div><div>  serialize(map { "test": () }, map { "method": "adaptive" })<br></div><div><br></div><div>This returns `map{"blah":()}`.</div><div><br></div><div>Can anyone enlighten me on why the empty sequence is serialized as `()` in the latter context and the empty string in the former?</div><div><br></div><div>Thanks,</div><div>Joe</div></div>