Re: A question about DOM Levels and JAPI

2005-11-06 Thread Stuart Ballard
On 11/6/05, Anthony Green [EMAIL PROTECTED] wrote:
 From what I can tell the 1.4 JDK includes DOM Level 2 support and GNU
 Classpath implements DOM Level 3.  DOM3 introduces many new abstract
 methods on existing classes.  Why does this not show up in the nightly
 JAPI test results?

Good question. I'll look into this; can you give some specific
examples of the methods that should be being flagged?

My first guess was that these were being skipped because JDK1.5 had
DOM3 but I produced an HTMLized version of the ignored errors between
1.4 and 1.5 and it only shows three xml-related abs.add errors.

http://www.kaffe.org/~stuart/japi/htmlout/cvs/h-jdk14-jdk15.html#err_abs_add_javax_xml_parsers

Thanks for the report :)

Stuart.

--
http://sab39.dev.netreach.com/


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: A question about DOM Levels and JAPI

2005-11-06 Thread Anthony Green
On Sun, 2005-11-06 at 22:04 -0500, Stuart Ballard wrote:
 On 11/6/05, Anthony Green [EMAIL PROTECTED] wrote:
  From what I can tell the 1.4 JDK includes DOM Level 2 support and GNU
  Classpath implements DOM Level 3.  DOM3 introduces many new abstract
  methods on existing classes.  Why does this not show up in the nightly
  JAPI test results?
 
 Good question. I'll look into this; can you give some specific
 examples of the methods that should be being flagged?

For example, the following methods are new to org.w3c.dom.Node:

+Method name:compareDocumentPosition public abstract Signature: 
(org.w3c.dom.Node)short
+Method name:getBaseURI public abstract Signature: ()java.lang.String
+Method name:getFeature public abstract Signature: 
(java.lang.String,java.lang.String)java.lang.Object
+Method name:getTextContent public abstract Signature: ()java.lang.String
+Method name:getUserData public abstract Signature: 
(java.lang.String)java.lang.Object
+Method name:isDefaultNamespace public abstract Signature: 
(java.lang.String)boolean
+Method name:isEqualNode public abstract Signature: (org.w3c.dom.Node)boolean
+Method name:isSameNode public abstract Signature: (org.w3c.dom.Node)boolean
+Method name:lookupNamespaceURI public abstract Signature: 
(java.lang.String)java.lang.String
+Method name:lookupPrefix public abstract Signature: 
(java.lang.String)java.lang.String
+Method name:setTextContent public abstract Signature: (java.lang.String)void
+Method name:setUserData public abstract Signature: 
(java.lang.String,java.lang.Object,org.w3c.dom.UserDataHandler)java.lang.Object

AG




___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath