Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 48276 invoked from network); 16 May 2008 08:44:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2008 08:44:53 -0000 Received: (qmail 95861 invoked by uid 500); 16 May 2008 08:44:51 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 95793 invoked by uid 500); 16 May 2008 08:44:51 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 95782 invoked by uid 99); 16 May 2008 08:44:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 01:44:51 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [194.152.182.1] (HELO mgate.ops.co.at) (194.152.182.1) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 08:43:58 +0000 Received: from smtp.ops.co.at (smtp.int.ops.co.at [172.27.0.4]) by mgate.ops.co.at (OPS Mail Gateway - authorized use only - NO UCE/UBE C=AT L=VIE) with ESMTP id E78AFAFE3B for ; Fri, 16 May 2008 10:44:19 +0200 (CEST) Received: by smtp.ops.co.at (Postfix, from userid 65534) id 670BC6E023F; Fri, 16 May 2008 10:44:18 +0200 (CEST) Received: from [172.27.1.104] (lints2.int.ops.co.at [172.27.1.104]) by smtp.ops.co.at (Postfix) with ESMTP id 967866E0234 for ; Fri, 16 May 2008 10:44:17 +0200 (CEST) Message-ID: <482D4962.1080803@chello.at> Date: Fri, 16 May 2008 10:44:18 +0200 From: "simon.kitching@chello.at" User-Agent: Thunderbird 2.0.0.0 (X11/20070418) MIME-Version: 1.0 To: Commons Users List Subject: Re: [digester] xml attribute values containing "]" character get scrambled References: <973c096d3e.96d3e973c0@noaa.gov> In-Reply-To: <973c096d3e.96d3e973c0@noaa.gov> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on smtp.ops.co.at X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, hits=-4.4 required=7.0 tests=AWL,BAYES_00,RATWR10_MESSID, SARE_TOCC_USER,SMILEY autolearn=ham version=2.64 Ken.Tanaka@noaa.gov schrieb: >> I'm using digester 1.8, with jdk1.5.0_11 on Red Hat Enterprise >> Linux >> Client release 5.1. >> >> > OK, I've tried running the same jar file on my home system and it works > fine there. The same executable jar on MacOS 10.4.11, java version > "1.5.0_13" gives correct output--I didn't change anything, just > downloaded the jar and ran it. I previously had used "maven > assembly:assembly", so I believe that means all the dependent jar files > are included (digester 1.8, etc.), except for system libraries, right? > Does this mean it's more difficult to debug? ;-) > > For now I'm just hard-coding the strings in my processing class. I'm > avoiding adding rules to load these as XML configuration sub-elements, > because I'm using a pre-existing framework where I can't add the > RuleSets to do this unless I duplicate that portion of the code; however > attributes are handled (usually) without changing the framework code by > just providing the getters and setters in my bean class. > Can you post your ConfigData class? You could also try enabling debug logging for category org.apache.commons.digester which will give a lot of info about which methods are called when. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org