Hide Forgot
In some cases EntityReferences get replaced by a set of random numbers. eg: <para> This is an example of a para tag: <para> </para> gets replaced as <para> This is an example of a para tag: [2191002]para[-19028]; </para> when saving the changes in SKynet. I suspect this has to do with the fix for Bug #739466
Fixed in build 20120328-1753. Cause: When multiple EntityReferences were used in side a XML node that contained children nodes (see below for an example), the first node would be replaced and would increase the node count. Since the node count was only retrieved before processing any nodes, the count would be incorrect after the first iteration. Example: <para> This is an example of a para tag: <para> <filename>/usr/bin/</filename> </para> </para> Consequence: Any EntityReferences that matched this case would be permanently converted to the temporary placeholder. Fix: Instead of getting the number of children nodes before iterating through and replacing the placeholders, I've made it calculate the number of children after each iteration.