Manuel Collado wrote: > Hussein Shafie escribi?: >> ... >> Sorry for that. XXE has been designed to make it nearly impossible >> creating (structurally) invalid documents. Therefore we put very few >> efforts into making it user-friendly when dealing with invalid documents. > > We are aware of that. However is seems feasible to dramatically improve > the user friendlyness of invalid document editions (repair mode) by just > some minor additions: > > 1.- Preserve all space while editing invalid documents > 2.- Allow forced insertions, replacements and wraps, in addition to the > already allowed forced deletions. Enter repair mode if it invalidates > the document. > > This would also make easier some simple, but difficult actions on > perfectly valid documents, like converting a sequence of paragraphs into > a list. >
I understand your point but what you describe is clearly not the kind of XML editor we want to promote (no offense intended). --- PS: Note that forced deletion of elements and attributes is the only way to cope with the following content model: (a|(b,c)) (in RELAX NG, you can also have (@a|(b,c)), (@a|(@b&@c)), etc).

