Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 34392 invoked from network); 9 Sep 2003 07:38:10 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Sep 2003 07:38:10 -0000 Received: (qmail 95494 invoked by uid 500); 9 Sep 2003 07:35:59 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 95450 invoked by uid 500); 9 Sep 2003 07:35:58 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 95401 invoked from network); 9 Sep 2003 07:35:57 -0000 Received: from unknown (HELO post.cnt.ru) (212.15.122.243) by daedalus.apache.org with SMTP; 9 Sep 2003 07:35:57 -0000 Received: from ppp3-17.dial-up.cnt.ru (ppp3-17.dial-up.cnt.ru [212.15.120.17]) by post.cnt.ru (8.11.7/8.11.1) with ESMTP id h897Wu524318 for ; Tue, 9 Sep 2003 11:32:56 +0400 Date: Tue, 9 Sep 2003 00:09:34 +0400 From: Anton Tagunov X-Mailer: The Bat! (v1.60h) X-Priority: 3 (Normal) Message-ID: <1128981923.20030909000934@mail.cnt.ru> To: "Jakarta Commons Users List" Subject: Re[2]: bug in betwixt for inner class In-Reply-To: <9051B385-E22E-11D7-846B-003065DC754C@blueyonder.co.uk> References: <9051B385-E22E-11D7-846B-003065DC754C@blueyonder.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, Robert! >> If I have a public inner class, the element names it creates are >> and dom4j chokes on an element name with $ in it. Robert Burrell Donkin wrote: rbd> i think that $ is not allowed in element names (so it's not very rbd> surprising that dom4j chokes). rbd> you can fix this easily by adding a (delegating) name mapper. rbd> i'll probably commit a standard betwixt mapper sometime soonish. i'm not rbd> sure what the best replacement character would be so i'll probably do rbd> something generic. i'm inclined to just remove the character (as the rbd> default) but i'd appreciate feedback from users about what they really rbd> think would be the best replacement. Is the '-' character taken? It is not allowed in java indentifiers but is in xml element names. Anton --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org