Re: Integer validation in WSDL2C.sh generated code

2010-01-27 Thread Nandika Jayawardana
We always welcome contributions. Please raise a jira and attach your changes as a patch. Regards Nandika On Wed, Jan 27, 2010 at 6:24 AM, slowpoison slowpoi...@comcast.net wrote: On Fri, Jan 22, 2010 at 10:57 PM, Sanjiva Weerawarana sanj...@opensource.lk wrote: Why not get the script to run

Re: Integer validation in WSDL2C.sh generated code

2010-01-26 Thread slowpoison
On Fri, Jan 22, 2010 at 10:57 PM, Sanjiva Weerawarana sanj...@opensource.lk wrote: Why not get the script to run the generated code thru a pretty printer? True. But, why add an extra step. Besides, I have seen that running the code through pretty printer still leaves something to be desired. For

Re: Integer validation in WSDL2C.sh generated code

2010-01-22 Thread slowpoison
On Wed, Jan 20, 2010 at 3:19 AM, Samisa Abeysinghe sam...@wso2.com wrote: Should be a matter of updating the XSLTs used for code generation. OK, great. I'll try to see what I can add. Also, is there interest in fixing the formatting of the generated code? The formatting is, sorry to say, awful.

Re: Integer validation in WSDL2C.sh generated code

2010-01-22 Thread Sanjiva Weerawarana
Why not get the script to run the generated code thru a pretty printer? Sanjiva. On Sat, Jan 23, 2010 at 6:21 AM, slowpoison slowpoi...@comcast.net wrote: On Wed, Jan 20, 2010 at 3:19 AM, Samisa Abeysinghe sam...@wso2.com wrote: Should be a matter of updating the XSLTs used for code

Re: Integer validation in WSDL2C.sh generated code

2010-01-20 Thread Samisa Abeysinghe
On Wed, Jan 20, 2010 at 9:23 AM, slowpoison slowpoi...@comcast.net wrote: I noticed that there is no validation for integers in the generated code. For example if I define by integer to be of type positiveInteger, the code won't check that it's zero. I'm wondering if there is a way to do

Integer validation in WSDL2C.sh generated code

2010-01-19 Thread slowpoison
I noticed that there is no validation for integers in the generated code. For example if I define by integer to be of type positiveInteger, the code won't check that it's zero. I'm wondering if there is a way to do this. If not, I'd like to know how easy/hard will it be to add it. I'm willing to