-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry.  Is there a better place to post these?

One of the goals of XXE is (or should be, because it is a critical goal for 
wide acceptance) to hide as much as possible the document structure details 
from the user.

There is no reason why a user shouldn't be allowed to insert any element from 
the ancestors of the current branch, as long as the schema allows.  For 
example, if the user is in
        /chapter/sect1/sect2/sect3/example/para/itemizedlist/listitem/para
and they choose to insert-after, they /should/ be offered the option of 
inserting nearly all of the ancestors of the current node; IE, sect1, sect2, 
sect3, example, para, itemizedlist, and listitem. Technically, they should 
also be able to insert any of the legal siblings thereof.

Now, adding all of the siblings to the tree would admittedly quickly render 
the choose list unusable because of the size.  Also, it would probably slow 
down XXE considerably.  However, adding just the legal ancestors to the list 
I think is a reasonable compromise because the number of extra element 
choices will always be relatively small, and because wanting to add those 
elements is a /common/ user desire.  This would, IME, remove 80% of the need 
to select the node you want to insert around.  This would be a valuable 
feature for both insert-after and insert-before, and would decrease the 
learning curve for people to whom the XML-based aspect of XXE is incidental, 
rather than central.  These people just want a word processor, not an XML 
tree editor.

Thanks for listening!

- --- SER
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9eKaXP0KxygnleI8RAnYIAJ980vg4kTVSC8Xlsnq6YIcEGFfZMQCfWe1E
ekkqTejahWPk0XS2EApqrOU=
=qyg/
-----END PGP SIGNATURE-----

Reply via email to