On 2019-01-30 11:08 a.m., Gerd Wagner wrote:
In fact, it's the other way around. XXE DOES NOT preserve the
"physical contents" of an XML file, since it deletes my user-inserted
line break between </p> and <pre> and joins the two lines creating the
ugly formatting </p><pre>.
I suppose the point is that XXE does not even have a notion of "physical
contents". It doesn't deal with the underlying byte stream, only with
the XML *info set*. The rest is hidden within some XML I/O library that
doesn't preserve the state that you are interested in as non-semantic
content. What you are asking is to augment XXE to carry the latter
around, too. Right ?
Stefan
--
...ich hab' noch einen Koffer in Berlin...
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support