Hi
When maps are serialized, the text nodes of an element (e.g., <g>r</g>/text()) are serialized without quotes and tests with "instance-of" show that they actually are text nodes: Couldn't they be serialized with quotes? I see that with data(), the text is serialized with quotes although it is xs:untypedAtomic. Is there a reason why the text node is kept as such and, for example, no casting/atomization happens when it becomes a value in a map? Thanks.
Best, Giuseppe