Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 40102 invoked from network); 6 Jan 2001 03:23:22 -0000 Received: from unknown (HELO ?209.10.208.98?) (209.10.208.98) by h31.sny.collab.net with SMTP; 6 Jan 2001 03:23:22 -0000 Received: from mailus.imediation.com by [209.10.208.98] via smtpd (for h31.sny.collab.net [64.208.42.41]) with SMTP; 5 Jan 2001 19:19:06 UT Received: by mailus.imediation.com with Internet Mail Service (5.5.2650.21) id ; Fri, 5 Jan 2001 19:16:16 -0800 Received: from cerber.imediation.com (r111m80.cybercable.tm.fr [195.132.111.80]) by parsv011.imediation.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id CFPPPYH3; Sat, 6 Jan 2001 03:26:31 -0000 Received: from r111m80.cybercable.tm.fr ([195.132.111.80]) by cerber.imediation.com via smtpd (for maileu.imediation.com [172.30.10.3]) with SMTP; 6 Jan 2001 04:22:52 UT Message-ID: <014b01c07790$6802e4f0$506f84c3@unknowncomp> From: =?iso-8859-1?Q?St=E9phane_Bailliez?= To: References: Subject: Re: XML support in ant Date: Sat, 6 Jan 2001 04:26:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N ----- Original Message ----- From: "Sam Ruby" >St�phane Bailliez wrote: >> >> - importing nodes from one document to another. changeNodeOwner >> is com.sun.xml only and importNode is DOM L2. >> Workaround: Write the nth importNode for DOM L1. >My recommendation is to go with DOM L2. I believe that there is a Crimson >version in early access release that supports DOM L2. Crimson version in early access release reveals up JIT bugs in JDK1.2.2 (the .jar were possibly compiled with JDK1.3 and there's probably some bytecode incompatibility that show up). It runs well with JDK 1.3. Plus, the packages (crimson and jaxp) are sealed which totally forbid you to mix them with other implementations. I guess it could be problematic right now for task homogeneity. And if I remember well, Sun license in Eearly Access does not allow you to redistribute them...even though the sources are under Apache license. I think you might get out of this license problem by simply recompiling the sources and have your own jars. >> - XML serialization (at least a DOMWriter). Xerces provides such >> as support as well as crimson. >> Workaround: Write the nth DOMWriter. >I have no good suggestion here. Rumor has it that this will be fixed in >DOM L3... We have time until DOM L3..DOM L1 is still not out of the way... :-( >Since the licenses for both Crimson and Xerces are compatible with the >license for Ant, you could simply include your favorite DOMWriter with your >task for now. I'd recommend renaming it (at least the package part to >avoid conflicts). I did the coding of my own DOMWriter since my original post...this was as a temporary solution, will see... -- Stephane Bailliez, Paris - France