mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
4.6 KiB
4.6 KiB
| 1 | ubl001 | ubl002 | ubl003 | ubl004 | ubl005 | ubl006 | ubl007 | ubl008 | bin001 | cii001 | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2 | Report has status valid | rep:report/@valid = 'true' | + | - | - | - | - | - | - | - | - | - |
| 3 | Timestamp is today | format-dateTime(rep:report/rep:timestamp, '[Y0001][M01][D01]') = format-date(current-date(),'[Y0001][M01][D01]') | + | + | + | + | + | + | + | + | + | + |
| 4 | Document hash matches | rep:report/rep:documentIdentification/rep:documentHash/rep:hashValue = 'TfvPbPcDevSv5anZIbgsyLioTLdzjnLTSXRhMsBlCIo=' | + | - | - | - | - | - | - | - | - | - |
| 5 | Document reference matches | contains(rep:report/rep:documentIdentification/rep:documentReference, 'ubl001') | + | - | - | - | - | - | - | - | - | - |
| 6 | Scenario found | rep:report/rep:scenarioMatched | + | + | + | + | + | - | - | + | - | + |
| 7 | UBL Invoice scenario found | rep:report/rep:scenarioMatched/s:scenario/s:name = 'EN16931 CIUS XRechnung (UBL Invoice)' | + | + | + | + | + | - | - | - | - | - |
| 8 | UBL CreditNote scenario found | rep:report/rep:scenarioMatched/s:scenario/s:name = 'EN16931 CIUS XRechnung (UBL CreditNote)' | - | - | - | - | - | - | - | + | - | - |
| 9 | CII Invoice scenario found | rep:report/rep:scenarioMatched/s:scenario/s:name = 'EN16931 CIUS XRechnung (CII)' | - | - | - | - | - | - | - | - | - | + |
| 10 | Document data found | rep:report/rep:scenarioMatched/rep:documentData/* | + | + | + | + | + | - | - | + | - | + |
| 11 | Schema validation performed | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd'] | + | + | + | + | + | - | - | + | - | + |
| 12 | Schema validatation has status valid | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/@valid = 'true' | + | + | + | + | - | - | - | + | - | + |
| 13 | Schema validatation has error message | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/rep:message[@level = 'error'] | - | - | - | - | + | - | - | - | - | - |
| 14 | Schema validatation has warning message | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/rep:message[@level = 'warning'] | - | - | - | - | - | - | - | - | - | - |
| 15 | Schema validatation has information message | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/rep:message[@level = 'information'] | - | - | - | - | - | - | - | - | - | - |
| 16 | Schema validatation has message with line number | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/rep:message[@lineNumber] | - | - | - | - | + | - | - | - | - | - |
| 17 | Schema validatation has message with column number | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-xsd']/rep:message[@columnNumber] | - | - | - | - | + | - | - | - | - | - |
| 18 | First schematron validation performed | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1'] | + | + | + | + | - | - | - | + | - | + |
| 19 | First schematron validation has status valid | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1']/@valid = 'true' | + | - | - | + | - | - | - | - | - | - |
| 20 | First schematron validatation has error message | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1']/rep:message[@level = 'error'] | - | + | + | - | - | - | - | + | - | + |
| 21 | First schematron validatation has warning message | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1']/rep:message[@level = 'warning'] | - | + | - | - | - | - | - | - | - | + |
| 22 | First schematron validatation has information message | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1']/rep:message[@level = 'information'] | - | - | - | - | - | - | - | - | - | - |
| 23 | Schema validatation has message with xpath location | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.1']/rep:message[@xpathLocation] | - | + | + | - | - | - | - | + | - | + |
| 24 | Second schematron validation performed | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.2'] | + | + | + | + | - | - | - | + | - | + |
| 25 | Second schematron validation has status valid | rep:report/rep:scenarioMatched/rep:validationStepResult[@id = 'val-sch.2']/@valid = 'true' | + | + | + | - | - | - | - | - | - | - |
| 26 | WFR validation step exists for no scenario found | rep:report/rep:noScenarioMatched/rep:validationStepResult[@id = 'val-xml'] | - | - | - | - | - | + | + | - | + | - |
| 27 | WFR validation step for no scenario found has message (XML case) | rep:report/rep:noScenarioMatched/rep:validationStepResult[@id = 'val-xml']/rep:message | - | - | - | - | - | - | + | - | + | - |
| 28 | Assessment recommends acceptance | rep:report/rep:assessment/rep:accept | + | - | + | - | - | - | - | - | - | - |
| 29 | HTML explanation for acceptance exists | rep:report/rep:assessment/rep:accept/rep:explanation/html:html[@data-report-type = 'report'] | + | - | + | - | - | - | - | - | - | - |
| 30 | HTML explanation for acceptance recommends acceptance | rep:report/rep:assessment/rep:accept/rep:explanation/html:html[@data-report-type = 'report']//*[contains(., 'Es wird empfohlen das Dokument anzunehmen')] | + | - | + | - | - | - | - | - | - | - |
| 31 | HTML explanation for rejection exists | rep:report/rep:assessment/rep:reject/rep:explanation/html:html[@data-report-type = 'report'] | - | + | - | + | + | + | + | + | + | + |
| 32 | HTML explanation for rejection recommends rejection | rep:report/rep:assessment/rep:reject/rep:explanation/html:html[@data-report-type = 'report']//*[contains(., 'Es wird empfohlen das Dokument zur<75>ckzuweisen')] | - | + | - | + | + | + | + | + | + | + |