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

XSD restriction enhancements #134

Merged
merged 1 commit into from
Mar 31, 2021
Merged

Conversation

janettework
Copy link

  • Added support for totalDigits restriction
  • Fixes for maxLength and length restrictions - previously length was being parsed as maxLength, have now added length as a separate restriction and updated maxLength
  • Updated min/maxIn/Exclusive to support linked types - since the base of these is unknown, attempt to parse dates and then decimal.

- Support totalDigits (the exact number of digits allowed)
- Fix maxlength and length - previously length was being parsed as maxLength
- Update min/max in/exclusive to support linked types - since the base of these is unknown, attempt to parse dates and then decimal
@droyo
Copy link
Owner

droyo commented Mar 31, 2021

This looks great, merging. Thanks!

@droyo droyo merged commit 55dcb4d into droyo:master Mar 31, 2021
@janettework janettework deleted the xsd-restrictions branch March 31, 2021 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants