Skip to content

Commit

Permalink
Fixed some issues in existing OASIS Standareds
Browse files Browse the repository at this point in the history
QM was adding the revision to the OASIS Standard path name: os01 should have been os causing broken links. There are no revisions to standards.
trs-vcab.ttl was misspelled.
  • Loading branch information
Jim Amsden committed Jun 25, 2024
1 parent 7e41216 commit 45303ae
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
6 changes: 5 additions & 1 deletion specs/qm/quality-management-shapes.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
var oasisBase = "https://docs.oasis-open-projects.org/oslc-op/qm/v2.1/";
var thisBase = wdBase;
if ("WD" !== status) {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
if (status == "OS") {
var thisBase = oasisBase + status.toLowerCase() + "/";
} else {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
}
}

var respecConfig = {
Expand Down
6 changes: 5 additions & 1 deletion specs/qm/quality-management-spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
var oasisBase = "https://docs.oasis-open-projects.org/oslc-op/qm/v2.1/";
var thisBase = wdBase;
if ("WD" !== status) {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
if (status == "OS") {
var thisBase = oasisBase + status.toLowerCase() + "/";
} else {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
}
}

var respecConfig = {
Expand Down
6 changes: 5 additions & 1 deletion specs/qm/quality-management-vocab.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
var oasisBase = "https://docs.oasis-open-projects.org/oslc-op/qm/v2.1/";
var thisBase = wdBase;
if ("WD" !== status) {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
if (status == "OS") {
var thisBase = oasisBase + status.toLowerCase() + "/";
} else {
var thisBase = oasisBase + status.toLowerCase() + revision.toString().padStart(2, "0") + "/";
}
}

var respecConfig = {
Expand Down
2 changes: 1 addition & 1 deletion specs/trs/trs-vocab.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ trs:
dcterms:title "OSLC Core Tracked Resource Set vocabulary" ;
rdfs:label "OSLC Core Tracked Resource Set vocabulary" ;
dcterms:description "The OSLC Core Tracked Resource Set vocabulary defines terms used in describing Tracked Resource Sets." ;
dcterms:source <https://docs.oasis-open-projects.org/oslc-op/trs/v3.0/os/trs-vcab.ttl> ;
dcterms:source <https://docs.oasis-open-projects.org/oslc-op/trs/v3.0/os/trs-vocab.ttl> ;
dcterms:isPartOf <https://docs.oasis-open-projects.org/oslc-op/trs/v3.0/os/tracked-resource-set.html> ;
dcterms:hasVersion "OS" ;
dcterms:license <http://www.apache.org/licenses/LICENSE-2.0> ;
Expand Down

0 comments on commit 45303ae

Please sign in to comment.