Hi All,

I have a big project using MSXML and I want to migrate to XERCES-C. I already have low level XML classes and "talk" to the SDK and I only want to replace their contents.

I found one major problem. In MSXML4, all nodes are released only when all references to the document are gone.


For example:

1. Create a document.

2. Get the root element of the document.

3. Release the document ptr.

4. The root elementis still valid, I can walk over all the XML using it and I can even get the document ptr again using it.


In XERCES-C releasing the document ptr will invalidate all the nodes owned by the document. It has certainly a performance advantage but I will need to re-write the whole code to support it.


Any ideas? Am I missing anything?

Thanks, Reuven


Reply via email to