Hi David,

David Bertoni <[EMAIL PROTECTED]> writes:

> If they were using a local MemoryManager instance in their code, they would
> likely have already tripped this bug.

I had this bug in my code and was not aware of it until I added that
function as pure virtual. The reason for this is that exceptions are
not normmaly thrown so this bug can linger on undetected for a while.


> And if they haven't tripped over it, my change doesn't modify the
> behavior of their code.

You mean you change prevents them from detecting and fixing the bug?
I don't think it's a very strong motivation ;-).


> I will add some more verbiage and a URL that references the Jira issue.

Sounds good. I agree I should have said that if the memory manager
is used locally then the global memory manager
(XMLPlatformUtils::fgMemoryManager) should probably be used for
exceptions.

Boris

-- 
Boris Kolpackov, Code Synthesis Tools
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to