On 01/30/2019 02:01 PM, Gerd Wagner wrote:
I'm wondering why XML Mind doesn't care more about (potential) users who
like to work both with WYSIWYG and with the XML source.
To be perfectly honest with you, XMLmind XML Editor does not really care
about XML itself. XML just a good, standard, low-level storage format
for documents. XMLmind XML Editor really cares about structured document
editing.
We would have loved calling our product "XMLmind Structured Document
Editor" but no one would have bought it, because this name is too hard
to understand.
The integrated XML source editor,
http://www.xmlmind.com/xmleditor/_distrib/doc/help/xml_source_menu_item.html,
has been added *years* after XMLmind XML Editor was created simply
because we were tired to answer the same question over and over: "how
can I see/edit the XML source in your product?".
I cannot see any justification why the XML formatting is messed up in
the way it is.
There is a very good reason for that. See explanation below.
Why do you append the start tag of the next element to the end tag of
the previous one on the same line? Like in
follows:</p><pre class="role-listing-1">SELECT title
XXE is solely driven by the XML schema. If there is no indentation
between "</p><pre", it's simply because the element containing both the
<p> and the <pre> may also contain text (e.g. <li> or XHTML5 --but not
XHTML 1.0 Strict or XHTML 1.1-- <body>). In such case, even white space
must be considered to be significant.
This is really frustrating and may be a reason to abandon XXE, despite
the fact that, otherwise, it's a great tool.
Really, really sorry to annoy you.
If you really care about the formatting of your XML source (may be
because you use a revision control software like CVS or GIT and you work
with other authors using a text editor or a real XML editor), this
limitation is indeed an excellent reason not to choose (or to abandon) XXE.
In fact, this limitation is clearly advertised as being a show stopper.
See row "Preserves as much as possible the physical contents of an XML
file (whitespace, character entities, CDATA sections, etc)" in the table
found in http://www.xmlmind.com/xmleditor/features.html
--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support