Good catch.  As documented in
http://xerces.apache.org/xerces-c/apiDocs/classDOMImplementationRegistry
.html#142f6dd9e0b65cda6dd6cc3dc06fc849,
DOMImplementationRegistry::getDOMImplementation() takes a single
argument (the first).

-----Original Message-----
From: Daniel Burrell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 12, 2008 2:41 PM
To: [email protected]
Subject: does not take 2 arguments

Hi

in
http://xerces.apache.org/xerces-c/program-dom.html#AccessAPI
in the section containing this code:

XMLCh tempStr[100];

        XMLString::transcode("Range", tempStr, 99);
        DOMImplementation* impl =
DOMImplementationRegistry::getDOMImplementation(tempStr, 0);


why does getDOMImplementation have 2 arguments?
MSVC claims it only takes 1.

regards

Reply via email to