-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
do not throw IncorrectDataFormat exception if value is empty and ValidateFieldsHaveValues=N #170
Conversation
…ory#create factory method some vendors use the same repeating groups in different parts of a message conditional on the value of other fields e.g. different product types
…dateFieldsHaveValues=N
This PR has picked up a second change I have which deals with the unfortunate situation where a vendor sends a blank value for a timestamp field. Commit: jonfreedman@4ea7e2a |
Hi @jonfreedman , thanks for the PR. I'm not very familiar with XSL. Could you please shortly describe how the generated code changes? Maybe you can attach an example class before/after the change. Thanks, |
I started writing some tests around validating the output .java files compile and it seems that my change doesn't do what I want, and there would be quite a bit of work needed to make the code generator behave how I wanted. I'll remove the xslt change, although it probably has no ill effects. |
Hi @jonfreedman , |
Thanks @jonfreedman , Cheers, |
Yep makes sense, with #208 have a think if the core module is the right place for it, could be useful to show people how to write their own dictionaries, but that's getting very niche. |
Some vendors use the same repeating groups in different parts of a message conditional on the value of other fields e.g. different product types