From d518ad12d5a82eef4d459835e54cbc00fa922d26 Mon Sep 17 00:00:00 2001 From: Mike Stern Date: Thu, 14 Jan 2021 15:12:43 -0600 Subject: [PATCH] Tasks/issue 32b (#49) * adding a spec that is broken in the spirit of: - make it break - make it work - make it pretty Formatting Report... passed: 21 / pending: 0 / failed: 4 / total: 25 * surpress some of the xpspec output * fix the test * make scenario for party be invalid party-uuid instead of role-id * fix id's to be more specific * make scenario for rol be invalid role-id instead of party-uuid * add rule for parties, roles and responsible-party association * restructure test location under master SSP scenario per feedback --- .gitignore | 1 + resources/validations/src/ssp.sch | 15 ++- resources/validations/test/ssp.xspec | 131 +++++++++++++++++++++++++++ 3 files changed, 145 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fe26465f4..ac4eb681b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,5 +5,6 @@ utils resources/validations/src/ssp.xsl resources/validations/report resources/validations/target +resources/validations/test/xspec/* *.DS_Store resources/validations/lib/**.jar diff --git a/resources/validations/src/ssp.sch b/resources/validations/src/ssp.sch index 81843b6d0..afb0cb1fc 100644 --- a/resources/validations/src/ssp.sch +++ b/resources/validations/src/ssp.sch @@ -340,5 +340,16 @@ >Response statement component remarks for is too short with characters. It must be characters long. - - \ No newline at end of file + + + + + + + + + This SSP has defined a responsible party with not defined in the role: + This SSP has defined a responsible party with is not a defined party: + + + diff --git a/resources/validations/test/ssp.xspec b/resources/validations/test/ssp.xspec index 021588f44..7e865cc02 100644 --- a/resources/validations/test/ssp.xspec +++ b/resources/validations/test/ssp.xspec @@ -677,6 +677,136 @@ + + + + + > + + Prepared By + The organization that prepared this SSP. If developed in-house, this is the CSP itself. + + + [SAMPLE]Person Name 1 + Individual's Title +
+ Mailstop A-1 +
+ name@org.domain + 202-000-0001 + 6b286b5d-8f07-4fa7-8847-1dd0d88f73fb + 27b78960-59ef-4619-82b0-ae20b9c709ac +
+ + 3360e343-9860-4bda-9dfc-ff427c3dfab6 + +

Exactly one

+
+
+
+
+
+ + +
+ + + + > + + Prepared By + The organization that prepared this SSP. If developed in-house, this is the CSP itself. + + + + [SAMPLE]Person Name 1 + Individual's Title +
+ Mailstop A-1 +
+ name@org.domain + 202-000-0001 + 6b286b5d-8f07-4fa7-8847-1dd0d88f73fb + 27b78960-59ef-4619-82b0-ae20b9c709ac +
+ + + 3360e343-9860-4bda-9dfc-xxxxxxxxxxxxx + +

Exactly one

+
+
+
+
+
+ +
+ + + + + > + + Prepared By + The organization that prepared this SSP. If developed in-house, this is the CSP itself. + + + [SAMPLE]Person Name 1 + Individual's Title +
+ Mailstop A-1 +
+ name@org.domain + 202-000-0001 + 6b286b5d-8f07-4fa7-8847-1dd0d88f73fb + 27b78960-59ef-4619-82b0-ae20b9c709ac +
+ + 3360e343-9860-4bda-9dfc-ff427c3dfab6 + +

Exactly one

+
+
+
+
+
+ +
+ + + + + > + + Prepared By + The organization that prepared this SSP. If developed in-house, this is the CSP itself. + + + + [SAMPLE]Person Name 1 + Individual's Title +
+ Mailstop A-1 +
+ name@org.domain + 202-000-0001 + 6b286b5d-8f07-4fa7-8847-1dd0d88f73fb + 27b78960-59ef-4619-82b0-ae20b9c709ac +
+ + + 3360e343-9860-4bda-9dfc-xxxxxxxxxxxxx + +

Exactly one

+
+
+
+
+
+ + +
+
@@ -842,4 +972,5 @@ +