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

Re-enable the test #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

isimluk
Copy link
Member

@isimluk isimluk commented Mar 11, 2024

Let's see.

This test needs to pass when gocomply/metaschema supports XML DTD.
@isimluk isimluk force-pushed the re-enable-the-test branch from 011617e to 9dc34ef Compare March 11, 2024 16:43
@isimluk
Copy link
Member Author

isimluk commented Mar 11, 2024

Run ./gocomply_metaschema generate ./OSCAL/src/metaschema github.com/gocomply/oscalkit types/oscal
##[debug]/usr/bin/bash -e /home/runner/work/_temp/d7a44053-b9c1-4261-8015-d94f2d31a87d.sh
Processing  oscal_assessment-common_metaschema.xml
  Processing imported href: oscal_control-common_metaschema.xml
Error decoding metaschema: XML syntax error on line 80: invalid character entity &allowed-values-control-group-property-name;

@isimluk
Copy link
Member Author

isimluk commented Mar 11, 2024

It seems DTDs are back in oscal metaschema.

<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="../../build/metaschema-xslt/src/validate/metaschema-composition-check.sch" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<!-- OSCAL CATALOG METASCHEMA -->
<!-- validate with XSD and Schematron (linked) -->
<!DOCTYPE METASCHEMA [
   <!ENTITY allowed-values-control-group-property-name SYSTEM "./shared-constraints/allowed-values-control-group-property-name.ent">
]>
<?xml-stylesheet type="text/css" href="metaschema-author.css"?>

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