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=24634>. 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=24634 DOMWriter fails to write SYSTEM identifier [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Additional Comments From [EMAIL PROTECTED] 2003-11-12 15:58 ------- I used your code against 2.3, and the output string has the correct DTD declaration. If you cannot switch to use the latest version, you should try patching DOMDocumentTypeImpl.cpp with the following patch: =================================================================== RCS file: /home/cvspublic/xml- xerces/c/src/xercesc/dom/impl/DOMDocumentTypeImpl.cpp,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- xml-xerces/c/src/xercesc/dom/impl/DOMDocumentTypeImpl.cpp 2002/08/16 19:20:28 1.13 +++ xml-xerces/c/src/xercesc/dom/impl/DOMDocumentTypeImpl.cpp 2002/09/03 13:26:16 1.14 @@ -55,7 +55,7 @@ */ /* - * $Id: DOMDocumentTypeImpl.cpp,v 1.13 2002/08/16 19:20:28 tng Exp $ + * $Id: DOMDocumentTypeImpl.cpp,v 1.14 2002/09/03 13:26:16 tng Exp $ */ #include "DOMDocumentTypeImpl.hpp" @@ -233,7 +233,7 @@ delete [] temp; temp = (XMLCh*) internalSubset; // cast off const - systemId = docImpl->cloneString(internalSubset); + internalSubset = docImpl->cloneString(internalSubset); delete [] temp; temp = (XMLCh*) name; // cast off const Alberto --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
