janabeck/Annotald — Issue #13: ID node gets deleted upon save if ROOT is atypical
Author: janabeck
Created: 2012-01-05 18:45:06+00:00
State: open

I was running Annotald on a CS output file that added a node labeled FLAG surrounding any matches. Occasionally this meant that the $ROOT node became FLAG, and it appears that whenever this occurred, the ID node was then deleted on save (after I deleted the FLAG).

Is this expected behavior? I'd of course prefer if things didn't work this way, but I'm open to explanations as to why $ROOT being restricted to certain elements might be preferred.