Skip to content
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

Support price validation #31

Closed
TheKeymaster opened this issue Dec 20, 2017 · 0 comments
Closed

Support price validation #31

TheKeymaster opened this issue Dec 20, 2017 · 0 comments
Assignees

Comments

@TheKeymaster
Copy link

libflexport allows any type of string (except it is empty) to be put in the XML. This could result in an validation issue, because the XML Scheme only allows a decimal.
The export allows following:

cvc-datatype-valid.1.2.1: 'blubbergurken' is not a valid value for 'decimal'.

A potential fix would be to have an own price validation that checks for is_float().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants