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

ODATA-1488: Corrections to edm.xsd #57

Merged
merged 16 commits into from Mar 31, 2022
Merged

ODATA-1488: Corrections to edm.xsd #57

merged 16 commits into from Mar 31, 2022

Conversation

HeikoTheissen
Copy link
Contributor

@HeikoTheissen HeikoTheissen commented Mar 25, 2022

The current XSD files use XSD version 1.0 and have limitations:

  • They allow certain elements (e.g., EntityType/Key) to occur more often than the spec says.
  • They do not allow Annotation elements in arbitrary places (e.g,. between two Int children of an Add element).
  • Certain restrictions (e.g., on simultaneous Int attribute and child) cannot be expressed even with XSD version 1.1.

This PR adds a Java-based XML Schema validation test (based on XSD 1.0) to the repository.

java/Validator.java Outdated Show resolved Hide resolved
java/Validator.java Outdated Show resolved Hide resolved
@HeikoTheissen HeikoTheissen marked this pull request as ready for review March 28, 2022 10:11
package.json Outdated Show resolved Hide resolved
@HeikoTheissen HeikoTheissen merged commit 9b4f076 into main Mar 31, 2022
@HeikoTheissen HeikoTheissen deleted the ODATA-1488 branch March 31, 2022 15:38
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.

None yet

2 participants