I have derived a class from DOMUserDataHandler, which works fine with
g++ on Linux.
Now on Windows, using BC++ 6.0, the operation field appears to be set
incorrectly upon entry to the handle function. I don't know if I am
doing something wrong, or if there is some sort of bug with this
combination of Xerces (nightly build 11th Jan - I think - I don't have
Windows, so a user of my program is doing the debugging under my
instructions) and Borland.
Upon entry to handle, the operation field should have value 1 (a node
is being cloned), but the following code:
virtual void handle ( DOMOperationType operation, const XMLCh * key, void * data,
const DOMNode * src, const DOMNode * dst)
{
std::cerr << "Value of operation is:###" << int(operation) << "###" <<
std::endl;
}
produces the output:
Value of operation is:###16025601###
Any suggestions?
--
Colin Paul Adams
Preston Lancashire
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]