According to the DOM spec, and to the Xerces docs,
DOM_DOMImplementation::createDocument() should be callable as follows:

myImplementation.createDocument(NULL, myQualifiedName, NULL)

where the two NULLs are the document's Namespace URI and the
document's DTD, respectively. However, while Xerces-C (1.1.0
precompiled Linux version) appears happy to create a document using a
NULL Namespace, using a NULL DTD doesn't work. This appears to be down
to the lack of an appropriate DOM_DocumentType constructor, because I
get the following error:

`DOM_DocumentType::DOM_DocumentType(DocumentTypeImpl *)' is protected

Should this be happening?

-- 
Richard Lanyon (Software Engineer) |     "The medium is the message"
XML Script development,            |             - Marshall McLuhan
DecisionSoft Ltd.                  |


Reply via email to