xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bentley Drake <bent...@nightfire.com>
Subject FW: FW: Crimson 1.1.3 bug and behavior changes?
Date Wed, 07 Nov 2001 22:16:30 GMT


-----Original Message-----
From: Bentley Drake 
Sent: Tuesday, November 06, 2001 2:57 PM
To: 'Edwin Goei'
Subject: RE: FW: Crimson 1.1.3 bug and behavior changes?


Edwin,

I just tried it with Xerces1.4.3 (see attached source) and didn't get any
exception.

Bentley



-----Original Message-----
From: Edwin Goei [mailto:edwingo@sun.com]
Sent: Tuesday, November 06, 2001 9:09 AM
To: Bentley Drake
Subject: Re: FW: Crimson 1.1.3 bug and behavior changes?


Bentley Drake wrote:
> 
> Edwin,
> 
> I didn't try Xerces2 because its a development branch whose APIs might be
> changing. Also, we currently use the Sun ProjectX tr-2 parser, and I was
> hoping the Crimson port would be easier (not to mention that it will be
part
> of JDK 1.4).  As I mentioned previously, the code ran fine under the
> ProjectX tr-2 parser as well as the version of the Crimson parser that
> shipped with the JAXP-1.1 reference implementation available on the
Javasoft
> site.
> 
> I've managed to reproduce the problem that I emailed you about earlier
using
> the simplest-possible Java application and XML example.  I've attached the
> source.  The main() method has all of the relevant code.  The following
> statement is throwing the exception:
> 
>             Document copy = (Document)src.cloneNode( true );

What happens when you run this w/ Xerces2 or Xerces1?  cloneNode is a
DOM method which other parsers support.

-Edwin


Mime
View raw message