I don't believe XFire does anything in particular with that. It would be
up to the underlying XML marshalling technology, of which you have a few
choices. Internally, I believe XFire uses stax (with wstx, right?) and
jdom (probably not for serializing). Of course, if you choose to use
XMLBeans, JAXB/JAXB2, or Castor - then whatever those tools do will be
what you get.

Some testing is probably in order to verify that your needs can be met
with XFire's capabilities.

Cheers,
Brice

-----Original Message-----
From: spamsucks [mailto:[EMAIL PROTECTED] 
Sent: Monday, December 11, 2006 1:15 PM
To: [email protected]
Subject: [xfire-user] Does xfire properly escape invalid xml characters?


Xfire Users,

I am thinking of migrating from Axis 1.3 to Xfire because my POJO
objects 
have property values that can not be be serialized by Axis.  Here is the

stacktrace I get from Axis:

        {http://xml.apache.org/axis/}stackTrace:java.io.IOException: 
java.lang.IllegalArgumentException: The char '0x19' after 'We' is not a 
valid XML character.
        at 
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.jav
a:275)


I am hoping that XFire would be able to serialize my objects and their 
properties, irregardless if their property values are complaint xml or
not. 
Can you let me know if you think Axis does this?  I would rather migrate
to 
XFire than have to clean up my object property values.

Thanks for your time
Phillip 



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to