OK, I've been working with oids in Arbortext Editor to implement a navigation algorithm through the document using Java and ACL, the first stage of my project was only related with navigation, however, now I'm making changes in the document, which means, I'm inserting new tags in my docbooks. I'm having a problem which I identified some weeks ago; in order to execute the navigation I generate a map using a list created with java and all I do is navigate through the list, the list contains oids corresponding to every element inside the document, and the idea is to update the list everytime that changes are made in the document, however, I saw that when I insert a new tag the oids of some of the elements change, not only the which one of the modified tag but instedad the following tags/nodes, this force me to REMAP the document, which it wasn't a big problem until I have to execute this navigation several times in another functionality that requires to navigate and change the document several times at one call of this feature from the user. I'm not sure why several oids change even when I only modified one, I've been investigating but I can not find enough information, so I was wondering if anybody here knows more about this oids behavior and how can I handle them in order to avoid extra data processing with my java object.
As a general rule, I would do as much OID work in ACL as you can rather than Java. I had to do a lot of that kind of processing work and ACL was easier and quicker.