St�phane Bailliez wrote:
>
>> Status update: I brought the machine home and am reinstalling
>> now.  I'm
>> upgrading to RedHat Linux 7.1 and will be trying Sun JDK 1.4 beta.
>
> If you do it, I'd be glad to know how you will avoid using the embedded
> JAXP/Crimson/Xalan embedded in rt.jar in the JDK 1.4. This is actually food
> for problem and at first sight, I have no idea how to override them without
> using the bootclasspath.

It looks like putting xerces.jar in the front of the classpath does the
trick.

The reason why I am fairly confident about this is that if xerces is not in
the classpath, gen.java fails due to an exception in crimson.  For those
curious, the problem is in the following line:

    Element copy=(Element)doc.importNode(sub.getFirstChild(), true);

The exception indicates that the child does not belong to this document.
Of course, that's exactly why I was calling importNode in the first place!

Adding xerces to the front of the classpath solves this problem.

- Sam Ruby


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

Reply via email to