Add validation of "target" attributes.
commit571fba729e33b3c43eafff1af4965d7615bbfd2e
authorBen Kibbey <bjk@luxsci.net>
Fri, 15 Jun 2012 02:21:41 +0000 (14 22:21 -0400)
committerBen Kibbey <bjk@luxsci.net>
Fri, 15 Jun 2012 02:29:07 +0000 (14 22:29 -0400)
treea1d2b9f9c597868de50d3f1ba363ac1a49a7779b
parent37547dbf15c7f23c34aace921a824f92b691d0d8
Add validation of "target" attributes.

Try to prevent recursion loops when creating a "target" attribute for an
element.  This is easier than preventing LIST getting stuck in a loop
after creating a target, but isn't foolproof since an element may be
DELETE'd causing a loop to occur. It is only a temporary fix but should
be Good Enough for most users.
src/commands.c
src/xml.c
src/xml.h