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/11/13 11:41:32 UTC
DO NOT REPLY [Bug 14500] New: -
Error in DomDocumentTypeImpl.cpp, line #236
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=14500>.
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=14500
Error in DomDocumentTypeImpl.cpp, line #236
Summary: Error in DomDocumentTypeImpl.cpp, line #236
Product: Xerces-C++
Version: 2.1.0
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: DOM
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: philipp_wyss@ch.schindler.com
BUG FOUND:
In line 236, system Id is overwritten AGAIN, with 'internalSubset' (?!):
systemId = docImpl->cloneString(internalSubset);
(Method: DOMDocumentTypeImpl::setOwnerDocument)
IMPACT FOR APPLICATION:
DOMImplementation::createDocumentType creates the DOMDocumentType correctly.
However, when calling DOMImplementation::createDocument, the external subset
system identifier gets lost.
EXAMPLE:
Here, a DOM is created; first, the Document Type is created, then the DOM
document, using the previously created Document Type.
DOMDocumentType* lpDomDocType = mpImpl->createDocumentType(L"job", NULL,
L"job.dtd");
DOMDocument* lpdoc = mpImpl->createDocument (NULL, L"job",lpDomDocType);
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org