On 01/30/2019 05:48 PM, stefan wrote:
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*.
True.
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.
Yes.
We also give the user a few save options related to the "XML indentation":
7.3. Save options,
http://www.xmlmind.com/xmleditor/_distrib/doc/help/saveOptions.html
The "XML indentation" options, turned on by default, confirm that XXE
will not preserve the "physical contents" of an XML file.
What you are asking is to augment XXE to carry the latter
around, too. Right ?
This feature is very unlikely to be implemented in the future.
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support