Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 25315 invoked by uid 500); 25 Apr 2002 11:10:40 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 25303 invoked from network); 25 Apr 2002 11:10:39 -0000 Date: Thu, 25 Apr 2002 13:10:37 +0200 (CEST) From: Torsten Curdt X-X-Sender: To: Subject: AttributesImpl Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N guys, I need a hand... I'm kinda lost. I am trying to add an attribute in a transformer: startElement(..) .... AttributesImpl newAttributes = null; try { getLogger().error("creating an attributes copy"); newAttributes = new AttributesImpl(attributes); getLogger().error("adding an attribute"); newAttributes.addAttribute("","id","id","CDATA", id); getLogger().error("added an attribute"); } catch(Throwable e) { e.printStackTrace(System.out); } getLogger().error("passing start"); super.startElement(uri, name, raw, newAttributes); .... But I only see the "added an attribute" once. After the next "adding an attriubute" I see nothing more at all. No stacktrace, log message - nothing. The browser just waits forever and I don't see anything in the logs... Seems like there is no way back from the "addAttribute" sometimes :( Anyone an idea? I always copied the attributes by hand up to now but AFAIK the above is the proposed way of doing it... Any ideas? -- Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org