W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

Re: difference between Document and XmlDocument

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Sat, 5 May 2001 01:40:47 -0400
To: Wendi Sisson <wsisson@east.fedex.com>
Cc: www-dom@w3.org
Message-ID: <OFAA44CE9B.CCE56E62-ON85256A43.001ECB91@pok.ibm.com>

>What is the difference between the classes org.w3c.dom.Document and
>com.sun.xml.tree.XmlDocument?

The former is part of the W3C's Document Model Object API. It's an
Interface.

The latter isn't. (I believe it's a class which is a concrete instantiation
of the org.w3c.dom.Document API -- one of many DOM implementations in Java
-- but I haven't rechecked so don't take my word for it.)

______________________________________
Joe Kesselman  / IBM Research
Received on Monday, 7 May 2001 09:50:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT