You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2004/03/22 14:23:34 UTC
DO NOT REPLY [Bug 27838] New: -
PSVIDocumentImpl is not returned consistently from DOM implementation when activated
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27838>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27838
PSVIDocumentImpl is not returned consistently from DOM implementation when activated
Summary: PSVIDocumentImpl is not returned consistently from DOM
implementation when activated
Product: Xerces2-J
Version: 2.6.2
Platform: All
OS/Version: All
Status: NEW
Severity: Major
Priority: Other
Component: DOM
AssignedTo: xerces-j-dev@xml.apache.org
ReportedBy: thorag@gmx.de
After replacing the document implementation by PSVIDocumentImpl via the
DOMParser property "http://apache.org/xml/properties/dom/document-class-name",
PSVIDocumentImpl is not returned from everywhere in the DOM implementation.
E.g. calling cloneNode() in a PSVIDocumentImpl instance falls back to
DocumentImpl.cloneNode() which returns a new DocumentImpl() instance. Instead it
should better return a new PSVIDocumentImpl() instance. Possible fix would be to
override cloneNode() and importDocument() in PSVIDocumentImpl accordingly.
adoptNode() might has to be changed, too.
There might be other places in implementation which I could have missed.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org