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

Sort schema elements by tag and name in XSD #149

Merged
merged 1 commit into from
Apr 9, 2022

Conversation

mristin
Copy link
Contributor

@mristin mristin commented Apr 9, 2022

We group the children of the <schema> by their tag and then sort by
name attribute within the group.

This makes it easier to:

  • diff,
  • search, and
  • compare against JSON Schema and RDF+SHACL.

We group the children of the ``<schema>`` by their tag and then sort by
``name`` attribute within the group.

This makes it easier to:
* diff,
* search, and
* compare against JSON Schema and RDF+SHACL.
@mristin mristin merged commit 6fb10a1 into main Apr 9, 2022
@mristin mristin deleted the mristin/Sort-by-tag-and-name-in-XSD branch April 9, 2022 20:33
mristin added a commit that referenced this pull request Apr 9, 2022
JSON
----
* Sort definitions in JSON schema (#148)

XSD
---
* Sort schema elements by tag and name in XSD (#149)
@mristin mristin mentioned this pull request Apr 9, 2022
mristin added a commit that referenced this pull request Apr 9, 2022
JSON
----
* Sort definitions in JSON schema (#148)

XSD
---
* Sort schema elements by tag and name in XSD (#149)
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.

1 participant