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 2001/11/17 00:32:33 UTC

DO NOT REPLY [Bug 4935] New: - Attempts to compile or run Document.importNode(Node node) fail on some VM's

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=4935>.
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=4935

Attempts to compile or run Document.importNode(Node node) fail on some VM's

           Summary: Attempts to compile or run Document.importNode(Node
                    node) fail on some VM's
           Product: Xerces-J
           Version: 1.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: craig.collings@cabusiness.co.nz


I'm using the org.apache.xerces 1.4 implementation on WinNT. When I tried to 
compile on a jdk 1.2.2 VM I would get a NoSuchMethodError. It compiled fine 
with a 1.3.0 VM. But now, when I try to run the compiled code on a Unix 
platform using a 1.3.1 runtime, it throws the same exception - 
NoSuchMethodError.

See also http://lists.xml.org/archives/xml-dev/200101/msg00805.html where 
Huaxin Zhang reported receiving serialized forms in his exception messages thus:

Exception in thread "main" java.lang.NoSuchMethodError: 
> org.w3c.dom.Document: method 
> importNode(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node; not found 
>         at test.main(test.java:45) 


I rated this bug as critical because importNode is a truly crucial method.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org