Skip to content

Commit

Permalink
React to directory restructuring
Browse files Browse the repository at this point in the history
The profile resolver code is less deep than before,
so a relative path from there to the specification
uses one less `../` piece.
  • Loading branch information
galtm authored and aj-stein-nist committed Sep 29, 2023
1 parent 1b5ee69 commit d7b6797
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
When this is determined, tests can be added for those sections. -->

<!-- Location of sample files, relative to compiled test in xspec/ subdirectory -->
<x:variable name="ov:filedir" as="xs:string" select="resolve-uri('../../../../../../specifications/profile-resolution/profile-resolution-examples')"/>
<x:variable name="ov:filedir" as="xs:string" select="resolve-uri('../../../../../specifications/profile-resolution/profile-resolution-examples')"/>

<x:scenario label="Import controls using ID mapping">
<x:scenario label="Basic case" pending="Mapping is not implemented yet">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
stylesheet="../../oscal-profile-resolve-select.xsl">

<!-- Location of sample files, relative to compiled test in xspec/ subdirectory -->
<x:variable name="ov:filedir" as="xs:string" select="resolve-uri('../../../../../../specifications/profile-resolution/profile-resolution-examples')"/>
<x:variable name="ov:filedir" as="xs:string" select="resolve-uri('../../../../../specifications/profile-resolution/profile-resolution-examples')"/>

<x:scenario label="Direct import by file href">
<x:context>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
xslt-version="3.0">

<!-- Location of sample files, relative to compiled test in xspec/ subdirectory -->
<x:variable name="ov:filedir" as="xs:string" select="resolve-uri('../../../../../../specifications/profile-resolution/profile-resolution-examples')"/>
<x:variable name="ov:filedir" as="xs:string" select="resolve-uri('../../../../../specifications/profile-resolution/profile-resolution-examples')"/>

<x:variable name="ov:unique" as="function(*)"
select="function($seq as xs:string*) as xs:boolean {
Expand Down

0 comments on commit d7b6797

Please sign in to comment.