The XMLEditor should not base its content model on a
DOM structure because not-well-formed XML content is
acceptable, too, as an intermediary from. However,
when saving not-well-formed XML content, an internal
SAX parsing exception is raised and the modifications
back until the last well-formed XML instance are
ignored.
e.g.
type:
<hello></hello>
then start adding an attribute to <hello/>:
<hello myAttr="></hello>
now save, you'll lose
myAttr="
The problem lies in the fact that the XMLInput object
hosts a DOM structure instead of a string or a
IDocument object. When saving, it always saves that
DOM structure.