Closed xatapult closed 3 years ago
Now I'm getting confused. I thought we decided that unwrapping an empty element would produce:
Is this not correct?
No, as Norm said above and I said in #470, there is no such thing as an empty text node. As Norm suggested, when the unwrapped element doesn’t contain a node, the result will be an empty text document, that is, a document node with content-type=text/plain
and no child nodes.
All right, I'll try to reformulate
Changed the last paragraph into a list and reformulated it a bit. Could you please check again?
Shouldn’t we change the sentence “All document properties are preserved” to “With the exception of the special cases where content-type
is changed to text/plain
and a possible serialization
property is removed, all document properties are preserved.”? Otherwise Ok!
@ndw Are you ok with Gerrit's suggestion?
I'm ok with Gerrit's suggestion.
@ndw and/or @gimsieke I rephrased some sentences, to make it as clear as possible, so that even I can understand what's happening 😉
Would you mind checking again?
There's no such thing as an "empty text node", perhaps: