You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/12/11 17:28:59 UTC

DO NOT REPLY [Bug 15276] - DOMImplementation::createDocument is not correctly constructing a DOMDocument object when a DOMDocumentType is passed into the constructor

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15276>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15276

DOMImplementation::createDocument is not correctly constructing a DOMDocument object when a DOMDocumentType is passed into the constructor





------- Additional Comments From gareth@decisionsoft.com  2002-12-11 16:28 -------
with the latest code base the following code works ok for me

DOMImplementation *impl  =     
DOMImplementationRegistry::getDOMImplementation(X("Core"));

DOMDocumentType *docType =   impl->createDocumentType( X("filterdb"), 0,
X("filters.dtd") );

if( docType ){
   DOMDocument     *doc=0;
   //      Create the document
   doc     =   impl->createDocument( 0, X("doc"), docType );
 
}


have I missed anything out of the code that does not work for you?

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org