It would seem that XXE has enough information, based on the schema, to allow
more flexible insertion of new elements. Even if an element is not valid at
the current insertion point, it is often a simple matter to deduce the
nearest ancestor at which such an element can be inserted, and where that
element will appear as a result.

For example, in XHTML: if I am in a <li> entering the #text field, and would
like to insert a <p>, there is only one nearest place to do so: as a <p>
element AFTER the <li> #text.

But XXE instad makes _me_ try to insert a <p>, then try to insert-after a
<p>, then move the selection up so I have selected the entire #text element,
and only then allows me to insert the <p>.

That seems like a lot of work that XXE could greatly help reduce. An
alternative key to C-h, C-I, C-j should allow me to enter any element for
which such an unambiuous insertion point exists, and then go ahead and
insert that element at that point.

Thoughts? Feasible?



Reply via email to