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

repairing XSD simple type definition defect #227

Merged

Conversation

wendellpiez
Copy link
Collaborator

@wendellpiez wendellpiez commented Aug 19, 2022

In XSD generation, generated XSDs are defective when simple (atomic) types defined by OSCAL make references to other simple types -- the indirectly referenced OSCAL types (such as DateTimeWithTimeZone as a subtype of DateTime) are missing.

The XSD generation now revisits the list of types as many times as necessary to get the full list of all types referenced indirectly, from any given list (such as those referenced directly).

Committer Notes

XSD generation will be identical except when such dependent types are used.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you squashed any non-relevant commits and commit messages? [instructions]
  • Do all automated CI/CD checks pass?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them? See Issue 223
  • Have you written new tests for your core changes, as applicable? (Looked at unit testing, which looks fine.)
  • Have you included examples of how to use your new feature(s)?
  • Have you updated all website](https://pages.nist.gov/metaschema) and readme documentation affected by the changes you made? Changes to the website can be made in the website/content directory of your branch. n/a

…ns down their dependency graph (within a given set of definitions), preventing orphans when atomic datatypes are built on top of one another in XSD generation.
@david-waltermire david-waltermire force-pushed the issue223-xsd-datatype-bugA branch from 4316dae to 59e6543 Compare August 21, 2022 04:39
@david-waltermire david-waltermire linked an issue Aug 21, 2022 that may be closed by this pull request
@david-waltermire david-waltermire merged commit 1e08f4b into usnistgov:develop Aug 23, 2022
david-waltermire pushed a commit that referenced this pull request Dec 7, 2022
…heir dependency graph (within a given set of definitions), preventing orphans when atomic datatypes are built on top of one another in XSD generation. (#227)
aj-stein-nist pushed a commit to aj-stein-nist/metaschema that referenced this pull request Jan 9, 2023
…ns down their dependency graph (within a given set of definitions), preventing orphans when atomic datatypes are built on top of one another in XSD generation. (usnistgov#227)
aj-stein-nist pushed a commit to aj-stein-nist/metaschema that referenced this pull request Jan 10, 2023
…ns down their dependency graph (within a given set of definitions), preventing orphans when atomic datatypes are built on top of one another in XSD generation. (usnistgov#227)
aj-stein-nist pushed a commit to aj-stein-nist/metaschema that referenced this pull request Jan 10, 2023
…ns down their dependency graph (within a given set of definitions), preventing orphans when atomic datatypes are built on top of one another in XSD generation. (usnistgov#227)
aj-stein-nist pushed a commit to aj-stein-nist/metaschema that referenced this pull request Jan 10, 2023
…ns down their dependency graph (within a given set of definitions), preventing orphans when atomic datatypes are built on top of one another in XSD generation. (usnistgov#227)
aj-stein-nist pushed a commit to aj-stein-nist/metaschema that referenced this pull request Jan 10, 2023
…ns down their dependency graph (within a given set of definitions), preventing orphans when atomic datatypes are built on top of one another in XSD generation. (usnistgov#227)
aj-stein-nist pushed a commit to aj-stein-nist/metaschema that referenced this pull request Jan 10, 2023
…ns down their dependency graph (within a given set of definitions), preventing orphans when atomic datatypes are built on top of one another in XSD generation. (usnistgov#227)
david-waltermire pushed a commit that referenced this pull request Mar 9, 2023
…heir dependency graph (within a given set of definitions), preventing orphans when atomic datatypes are built on top of one another in XSD generation. (#227)
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.

XSD datatype glitch in XSLT M4 schema generator
2 participants