[jboss-dev-forums] [Design of JCA on JBoss] - jaxb whitepsace handling
scott.stark@jboss.org
do-not-reply at jboss.com
Thu Jul 12 02:51:58 EDT 2007
Is there a way to get jaxb to trim string data? I'm seeing a problem with the parsing of the jmx or the connection-factories/tx-connection-factory/connection-definition is failing to be mapped correctly because it contains the newlines from the xml:
| <connection-factories>
| <tx-connection-factory>
| <jndi-name>QueueConnectionFactory</jndi-name>
| <rar-name>jms-ra.rar</rar-name>
| <connection-definition>
| org.jboss.resource.adapter.jms.JmsConnectionFactory
| </connection-definition>
| ...
|
Also, the fields for the associated TxConnectionFactoryDeploymentMetaData are set directly rather than going through the javabean accessors, so I can't intercept and trim there. Is there a way to change the whitespace handling for a field?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063330#4063330
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063330
More information about the jboss-dev-forums
mailing list