Oops, I said NodeBase when I should have said Node. org.w3c.dom.Node in xerces 1.0.3 has a method normalize(). com.sun.xml.tree.NodeBase from JAXP implements Node, but doesn't implement the normalize() method.
Apparently normalize() (and some traversal stuff) was added for DOM 2. JAXP isn't DOM 2 compliant. Perhaps W3C should have left the DOM 1 interfaces alone and added extension interfaces for the new features. This would keep it from breaking old code. ----- Original Message ----- From: Scott Boag/CAM/Lotus <[EMAIL PROTECTED]> To: <[email protected]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 20, 2000 2:24 PM Subject: Re: Build questions > > Hmmm... when I search for NodeBase.java the only place I find it is in my > copy of James Clark's XT!. Was NodeBase added recently to Xerces. Anyone > on the Xerces side of the fence know what's going on? I'm confused... > > -scott > > > > > > Eric Hodges > <[EMAIL PROTECTED] To: [email protected] > ell.net> cc: (bcc: Scott Boag/CAM/Lotus) > Subject: Build questions > 04/20/2000 > 03:01 PM > Please > respond to > xalan-dev > > > > > > I'm having some trouble with my current installation of Xalan and Xerces, > so I decided to get the latest and greatest from www.apache.org. The > org.w3c.dom package that comes with these conflicts with the one used by > the current release of JAXP (1.0). Methods like normalize() are in > NodeBase.java in the Apache version of org.w3c.dom, but not in the one used > by Sun. Does anyone know how to get JAXP and Xalan to play nice? > > >
