I don't know what the problem is with the DOMBuilder, but it's clear why the exception message is not printed properly. If you check the return type from DOMException::getMessage(), you'll see it's "const XMLCh*" which means it's a UTF-16 string. Unfortunately, you've told sprintf that the parameter is "const char*" so you won't get anything interesting as a result.

Ah, okay -- thanks! Took about 15 seconds to add and the result is now 'The implementation does not support the requested type of object or operation'. Any idea which object or operation it's talking about? Perhaps it's not happy about the DOMBuilder::ACTION_APPEND_AS_CHILDREN action I've requested?

..............................
Andrew Patterson
Software Engineer
Avenza Systems Inc.

email: [EMAIL PROTECTED]
phone: 416.487.5116

Reply via email to