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

backport: Fix negative xsd range edge cases (#178) #180

Commits on Dec 7, 2023

  1. Fix negative xsd range edge cases (eclipse-basyx#178)

    The current implementation uses the `abs()` function to check
    that the value is inside the range.
    However, the range is not symmetric.
    For example, for a [byte](https://www.w3.org/TR/xmlschema11-2/#byte),
    which is between [-128, 127],
    the value of
    [maxInclusive](https://www.w3.org/TR/xmlschema11-2/#dt-maxInclusive)
    should be 127,
    and [minInclusive](https://www.w3.org/TR/xmlschema11-2/#dt-minInclusive)
     should be -128.
    mhrimaz authored and jkhsjdhjs committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    3d70176 View commit details
    Browse the repository at this point in the history