Sean Wheller wrote: > > Hello, > > Sorry to say this is my first post. Wish it could have been in a better mood. > XXE has really ^%&$&^# me off!!! > > I build documents in an OO fashion to increase my level of reutilization when > authoring. I start with a main document and use ENTITY in the External Subset > to declare documents that will be included in the document by reference > ( &filename; ). > > Example: > <book> > &chap1; > &chap2; > ... > </book> > > This method goes down to a very high level of granularity, sometimes down to a > single element with content that I can just &ref; without having to type it > out again. > > XXE and I were getting on just fine. Then I opened the main source file in > another XML Editor. It seems that when I opened my main file, did some > editing, then saved that all files included by reference became an embedded > part of the main file. There were also changes to other reference types, > text etc. Even some bad changes like < > became the literal characters > < >. > > Example 2: Now it looks like this. > <book> > <chapter> > all structure and contents of chapter 1. All child references > also embedded. > </chapter> > <chapter> > all structure and contents of chapter 2. > All child references also embedded. > <sect1> > <sect2> > <sect3> > .... > </sect3> > </sect2> > </sect1> > </chapter> > .... > </book> > > So I did all that work, a large number of changes across the document (7 hours > work), saved and now I will have to go back through a 50,000 line XML > document cutting and pasting parts back to their original files (some 500 xml > objects). Now I am far from being a happy camper!!!!
I'm really, really, sorry for the loss of 7 hours of work. I would be mad too if it happened to me. > Is it normal for XXE to merge once separate XML files into a single XML file? Yes. This is both a documented non-feature: http://www.xmlmind.com/xmleditor/features.html#nonfeatures and a planned one: http://www.xmlmind.com/xmleditor/features.html#planned > Does this also happen in the Pro edition? Yes. > How can I stop XXE from doing this? No, not before the planned feature is implemented (not before 3 months). > I am testing XXE v2.0p2 (the standard edition) on SuSE 8.1, JDK 1.4.1, with a > view toward purchasing the Pro. If it's just me then, OK I will understand, > but if it's not you can imagine that I will not be inclined to buy XXE Pro. I understand.

