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 2003/02/18 14:01:22 UTC
DO NOT REPLY [Bug 17160] New: -
SetVersion is causing the application to dump core
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=17160>.
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=17160
SetVersion is causing the application to dump core
Summary: SetVersion is causing the application to dump core
Product: Xerces-C++
Version: 2.1.0
Platform: All
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: DOM
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: srikantharra@yahoo.com
Hi ,
I am using the function setVersion from the class DOMDocument. During the
execution it is getting core dump.
Here is the code I have used.
DOMImplementation* impl = DOMImplementationRegistry::getDOMImplementation(X
("Core"));
DOMDocument* doc = impl->createDocument(
0, // root element namespace URI.
X("company"), // root element name
0); // document type object (DTD).
doc->setVersion(X("XML1.0"); -----here it is core dumping ..
Basically I need to print the xml declaration in the file along with the full
xml tree. At present I am able to build only XML tree . So I am trying to set
the version,encoding ,standalone while creating xml document. But it is core
dumping at the above location.
Any body has any idea why it is core dumping.
-Srikanth
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org