Doing that produces and empty string.

[Default] before trim: '                '
[Default] after trim: ''
[Default] before edit: ''
[Default] after edit: ''

BTW, <![CDATA[ foo bar ]]>.

-Jake

-----Original Message-----
From: Toby Allsopp [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 4:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] JBossCX Config and Properties Issue


On Wed, May 16, 2001 at 03:24:56PM -0700, Jacob Barrett wrote:
> Okay, does this help any?  The "'" (single quote) marks the start and stop
> of the actual string.  This is the log dump snippet...
> 
> [Default] before trim: '                        # Name of Resource
> Name=test01             # FCCN of Connector
> Connector=com.attachmate.connectors.xatest.XATestConnector
> # Task file to open             TaskFile=abc            '

Bugger.  So the line breaks are getting stripped by the XML parser.

Maybe someone who knows about XML parsing can shed some light on this?

Try putting your properties in a CDATA element, something like:

<attribute name="Properties"><!CDATA[[
    # Foo
    bar=baz
]]></attribute>

You might want to look up the actual syntax for CDATA because I'm not sure
I've remembered it correctly.

Toby.

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to