Return-Path: Delivered-To: apmail-xmlgraphics-batik-users-archive@www.apache.org Received: (qmail 72253 invoked from network); 1 Apr 2008 09:54:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Apr 2008 09:54:45 -0000 Received: (qmail 86133 invoked by uid 500); 1 Apr 2008 09:54:44 -0000 Delivered-To: apmail-xmlgraphics-batik-users-archive@xmlgraphics.apache.org Received: (qmail 86120 invoked by uid 500); 1 Apr 2008 09:54:44 -0000 Mailing-List: contact batik-users-help@xmlgraphics.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: batik-users@xmlgraphics.apache.org Delivered-To: mailing list batik-users@xmlgraphics.apache.org Received: (qmail 86109 invoked by uid 99); 1 Apr 2008 09:54:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 02:54:44 -0700 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thomas.deweese@kodak.com designates 192.232.121.200 as permitted sender) Received: from [192.232.121.200] (HELO smtp1.kodak.com) (192.232.121.200) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 09:54:01 +0000 Received: from roc-us-e1000-110.kodak.com (roc-us-e1000-110.kodak.com [192.232.121.190]) by smtp1.kodak.com (8.11.3/8.11.1) with SMTP id m319sBu06210 for ; Tue, 1 Apr 2008 05:54:12 -0400 (EDT) Received: from (unknown [150.102.45.17]) by roc-us-e1000-110.kodak.com with smtp id 76c7_94812d8a_ffd1_11dc_828e_0019b9df7a4c; Tue, 01 Apr 2008 09:54:11 +0000 In-Reply-To: <16093512.post@talk.nabble.com> Subject: Re: Convert String to Node To: batik-users@xmlgraphics.apache.org Cc: batik-users@xmlgraphics.apache.org X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: thomas.deweese@kodak.com Date: Tue, 1 Apr 2008 05:54:08 -0400 X-MIMETrack: Serialize by Router on KNOTES3/ISBP/EKC(Release 6.5.6FP2|October 17, 2007) at 04/01/2008 05:54:11 AM MIME-Version: 1.0 Content-type: multipart/alternative; Boundary="0__=0ABBFE8DDFA585108f9e8a93df938690918c0ABBFE8DDFA58510" Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org --0__=0ABBFE8DDFA585108f9e8a93df938690918c0ABBFE8DDFA58510 Content-type: text/plain; charset=US-ASCII Hi Poozle, poozle wrote on 03/17/2008 11:08:35 AM: > Well, I've managed to get the rest working now (stupid errors on my part) but > the two ids on a group element are causing problems, does anyone know what > could be causing this (I have checked and the id tag isn't being set twice > or anything). I think your setting the id tag twice :). My guess would be with different namespaces or something, for example doing something like the following would cause this sort of problem: e.setAttributeNS(SVG_NS, "id", "foo"); e.setAttributeNS(null, "id", "foo"); --0__=0ABBFE8DDFA585108f9e8a93df938690918c0ABBFE8DDFA58510 Content-type: text/html; charset=US-ASCII Content-Disposition: inline

Hi Poozle,

poozle <jdb25@bath.ac.uk> wrote on 03/17/2008 11:08:35 AM:

> Well, I've managed to get the rest working now (stupid errors on my part) but
> the two ids on a group element are causing problems, does anyone know what
> could be causing this (I have checked and the id tag isn't being set twice
> or anything).

   I think your setting the id tag twice :).  My guess would be with different
namespaces or something, for example doing something like the following
would cause this sort of problem:

e.setAttributeNS(SVG_NS, "id", "foo");
e.setAttributeNS(null,   "id", "foo");
--0__=0ABBFE8DDFA585108f9e8a93df938690918c0ABBFE8DDFA58510--