From dev-return-11620-apmail-geronimo-dev-archive=geronimo.apache.org@geronimo.apache.org Tue Feb 22 19:00:07 2005 Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 40715 invoked from network); 22 Feb 2005 19:00:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Feb 2005 19:00:07 -0000 Received: (qmail 33564 invoked by uid 500); 22 Feb 2005 19:00:04 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 33505 invoked by uid 500); 22 Feb 2005 19:00:03 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 33492 invoked by uid 99); 22 Feb 2005 19:00:03 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from ss53.shared.server-system.net (HELO ss53.shared.server-system.net) (72.10.34.2) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 22 Feb 2005 11:00:02 -0800 Received: from [127.0.0.1] (68-175-98-78.nyc.rr.com [68.175.98.78]) (authenticated (0 bits)) by ss53.shared.server-system.net (8.11.6/8.11.6) with ESMTP id j1MJ00O15544 for ; Tue, 22 Feb 2005 11:00:00 -0800 Message-ID: <421B8124.40505@toolazydogs.com> Date: Tue, 22 Feb 2005 13:59:48 -0500 From: "Alan D. Cabrera" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: CDATA and GBean attributes References: <421B3435.4010307@toolazydogs.com> <51c529f23642b3111a8427f6201392c1@gluecode.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I have no problem reading in the string into XML. It just looks ugly in the plan file. Regards, Alan David Jencks wrote: > I'm not sure this is such a good idea. > > It's going to require changing the gbean schema to allow an any > element and mixed content in a gbean attribute element. In principle > I object strongly to mixed content. I think the extra complications > indicate that the CDATA solution is much much simpler. Is there a > problem with it? What are you trying to pass in? What are you doing > with the results? Do you want an XmlObject, a string, a DOM element, > a STAX stream...? > > thanks > david jencks > > On Feb 22, 2005, at 10:03 AM, Dain Sundstrom wrote: > >> No reason other then no one ever tried it. If you want to change the >> builder code, go for it. >> >> -dain >> >> -- >> Dain Sundstrom >> Chief Architect >> Gluecode Software >> 310.536.8355, ext. 26 >> >> On Feb 22, 2005, at 5:31 AM, Alan D. Cabrera wrote: >> >>> Why do I have to wrap XML in CDATA when I want to pass XML to GBean >>> attributes? >>> >>> Regards, >>> Alan >>> >>> >>