axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eran Chinthaka <chinth...@opensource.lk>
Subject Re: Collapsing Whitespace with Axis2
Date Sat, 09 Jun 2007 02:55:11 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't think there is a way to do that.

Axiom, the underlying object model, preserves the full XML infoset. So
all the characters in the incoming request will be preserved as it is.

Chinthaka

John Pfeifer wrote:
> I was wondering if there is a way to configure Axis2 to trim leading and
> trailing whitespace before the web service is called.  I am valdating
> all incoming requests against an XSD but I have found that xsd:decimal
> validation uses whitespace collapse by default.  This allows values like
> "  9.99  " to be passed to my JiBX binding, which results in a
> NumberFormatException.  I can fix this issue by customzing my bindings
> file, but I was wondering if there is a way to trim all incoming requests?
> 
> Thanks,
> 
> jp4
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGahaPjON2uBzUhh8RAu9FAKCG7vhzQLiT60jCLxwdgxTANEnv8QCfXEnf
kZyre6VDaUKF2lBe3qsB8+k=
=bW/0
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message