The w3c DOM the DOM4J compiled with and the one Sun compiled with may be a mismatch. Did you look at the DOM samples in the source distribution?

They show how to use JAXP to parse into DOM and the parse DOM to get DOM4J.

Later,
Dave


JavaXML Developer wrote:
I have been trying to convert w3c DOM document into dom4j document using
DOMReader domReader = new DOMReader();
org.dom4j.Document dom4jDoc = domReader.read(w3cDom);
//where w3cDom is com.sun.xml.tree.XmlDocument.
I keep getting following exception.
java.lang.AbstractMethodError
at org.dom4j.io.DOMReader.readElement(DOMReader.java:181)
at org.dom4j.io.DOMReader.readTree(DOMReader.java:106)
at org.dom4j.io.DOMReader.read(DOMReader.java:88)
Can anyone tell , what could be the reason for this? I need to get this resolved ASAP.
Thank you all.


------------------------------------------------------------------------
Do you Yahoo!?
Free online calendar <http://us.rd.yahoo.com/mail_us/tag/*http://calendar.yahoo.com> with sync to Outlook(TM).


--

+------------------------------------------------------------+
| David Lucas                        mailto:[EMAIL PROTECTED]  |
| Lucas Software Engineering, Inc.   (740) 964-6248 Voice    |
| Unix,Java,C++,CORBA,XML,EJB        (614) 668-4020 Mobile   |
| Middleware,Frameworks              (888) 866-4728 Fax/Msg  |
+------------------------------------------------------------+
| GPS Location:  40.0150 deg Lat,  -82.6378 deg Long         |
| IMHC: "Jesus Christ is the way, the truth, and the life."  |
| IMHC: "I know where I am; I know where I'm going."    <><  |
+------------------------------------------------------------+

Notes: PGP Key Block=http://www.lse.com/~ddlucas/pgpblock.txt
IMHO="in my humble opinion" IMHC="in my humble conviction"
All trademarks above are those of their respective owners.




------------------------------------------------------- This SF.NET email is sponsored by: eBay Great deals on office technology -- on eBay now! Click here: http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to