Epic Change Tracking and the DOM/AOM

Last Updated: 2006-10-11

How does Epic handle change tracking elements in the DOM?

=Open question by Jeanne Fritch=

I am trying to insert a new element after a node in Epic using the DOM:

insertRange.setStartAfter( lastNode ); insertRange.setEndAfter( lastNode ); insertRange.insertNode( annotNode );

Where lastNode is the node I want to insert after and annotNode is the node to insert. This seems to work fine until I try to insert a node after another node that has been marked with change tracking. When I do the setStartAfter I get a DOMexception: index or size is negative or larger than allowed. If I turn change tracking off, everything works fine.

Epic does not seem to pass on the change tracking elements to the DOM. If I do a lastNode.getParentNode.nodeName, it does not report the parent as a change tracking element. Change tracking elements are a part of a different namespace, but I still can’t seem to get that information through the DOM.

Has anyone had experience with this to know how to work around it?

Thanks in advance.