Skip to content

Commit

Permalink
Merge pull request GSA#421 from 18F/413-Add_missing_namespace_to_sche…
Browse files Browse the repository at this point in the history
…matron

413 add missing namespace to schematron
  • Loading branch information
markXLIX authored Apr 11, 2022
2 parents 98f18f5 + 703f85f commit d6778ec
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/validations/styleguides/sch.sch
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
defaultPhase="basic"
queryBinding="xslt2"
xmlns:doc="https://fedramp.gov/oscal/fedramp-automation-documentation"
xmlns:feddoc="http://us.gov/documentation/federal-documentation"
xmlns:sch="http://purl.oclc.org/dsdl/schematron"
xmlns:sqf="http://www.schematron-quickfix.com/validator/process"
xmlns:x="http://www.jenitennison.com/xslt/xspec"
Expand All @@ -15,6 +16,10 @@
<sch:ns
prefix="doc"
uri="https://fedramp.gov/oscal/fedramp-automation-documentation" />

<sch:ns
prefix="feddoc"
uri="http://us.gov/documentation/federal-documentation" />

<sch:ns
prefix="x"
Expand Down Expand Up @@ -264,12 +269,10 @@
select="count($assertions)" /> assertions and there are <sch:value-of
select="count($referenced-tests)" /> unit tests which reference those assertions for test coverage of <sch:value-of
select="format-number($coverage, '09.99%')" />.</sch:report>

</sch:rule>

<sch:rule
context="sch:assert">

<sch:assert
diagnostics="has-xspec-affirmative-test-diagnostic"
id="has-xspec-affirmative-test"
Expand Down

0 comments on commit d6778ec

Please sign in to comment.