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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to