David M Williams <[EMAIL PROTECTED]> wrote on 06/26/2005 12:17:14 
AM:

> 
> I've noticed a few very minor "source incompatibilities" with 2.6.2 
> 
> Not hardly worth noting (since very easy "fixes" in my case). 
> but didn't know if this list would appreciate noting them? 
> Are these sorts of things documented somewhere? 
> 
> 1. DOMError interface 
> in Xerces 2.6.2 is in a org.w3c.dom3 package, 
> but in Xerces 2.7.0 is in org.w3c.dom package. 

I think you must mean the org.apache.xerces.dom3 package. The move to 
org.w3c.dom was necessary to support DOM Level 3. Xerces 2.6.2 and prior 
implemented JAXP 1.2 which endorsed the DOM Level 2 interfaces. To get DOM 
Level 3 support (the real org.w3c.dom interfaces) you had to compile the 
source with a special build target or download the pre-compiled DOM Level 
3 enabled distribution. org.apache.xerces.dom3 allowed the DOM Level 2 and 
3 implementations to co-exist. This package was marked as unstable in the 
2.6 docs. I don't think the change is mentioned anywhere in the 2.7 docs, 
so will make sure an FAQ is added to the website which describes what 
happened to the package.

> 
> 2. In the abstract class DocumentBuilderFactory 
> these methods became abstract (must be implemented by subclasses, 
> even if "not supported") 
>         getFeature(String) 
>         setFeature(String, boolean) 

These methods were added in JAXP 1.3. I'm not sure why they were made 
abstract rather than having them throw an UnsupportedOperationException 
like the other methods added to DocumentBuilderFactory, but it's too late 
to change that now.
 
> Thanks for making this available so quickly. Will definitely ease 
> the transition from Java 1.4 to Java 1.5 
> for us.

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to