update runable

This commit is contained in:
Tanapattara Wongkhamchan 2024-08-15 14:53:11 +07:00
parent 5184f86c5e
commit 8a968cd73c
2 changed files with 43 additions and 3 deletions

17
pom.xml
View file

@ -54,12 +54,13 @@
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<version.assertj>3.23.1</version.assertj>
<version.commons-io>2.11.0</version.commons-io>
<version.commons-lang>3.12.0</version.commons-lang>
<version.jacoco>0.8.8</version.jacoco>
<version.jaxb>2.3.7</version.jaxb>
<version.lombok>1.18.24</version.lombok>
<version.lombok>1.18.30</version.lombok>
<version.mockito>4.9.0</version.mockito>
<version.owasp-dependency-check>7.2.0</version.owasp-dependency-check>
<version.rest-assured>5.2.0</version.rest-assured>
@ -173,6 +174,16 @@
</resources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.1.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
@ -216,7 +227,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
@ -655,7 +666,7 @@
</reporting>
<scm>
<connection>https://github.com/itplr-kosit/validationtool.git</connection>
<connection>scm:git:shttps://github.com/itplr-kosit/validationtool.git</connection>
<developerConnection>scm:git:https://projekte.kosit.org/kosit/validator.git</developerConnection>
<tag>v1.1.0</tag>
<url>https://github.com/itplr-kosit/validator</url>

View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?><report xmlns="http://validator.kosit.de/test-report" xmlns:in="http://www.xoev.de/de/validator/framework/1/createreportinput"><input><!--
~ Copyright 2017-2022 Koordinierungsstelle für IT-Standards (KoSIT)
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
--><simple xmlns="http://validator.kosit.de/test-sample">
<inner>asldkfj</inner>
<content>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--nothing-->
</head>
<body>
<div>some data</div>
</body>
</html>
</content>
</simple></input><result><createReportInput xmlns="http://www.xoev.de/de/validator/framework/1/createreportinput" xmlns:ns2="http://purl.oclc.org/dsdl/svrl" xmlns:ns3="http://www.xoev.de/de/validator/framework/1/scenarios" frameworkVersion="1.0.2"><engine><name>KoSIT Validator 1.5.0</name></engine><timestamp>2024-08-15T14:51:12.457+07:00</timestamp><documentIdentification><documentHash><hashAlgorithm>SHA-256</hashAlgorithm><hashValue>D2afxiZb72peacEmrSP9CYeOkYXa6Qc0zoVYNucIaBI=</hashValue></documentHash><documentReference>/C:/Users/tanap/source/repos/java-validator/src/test/resources/examples/simple/input/simple.xml</documentReference></documentIdentification><ns3:scenario><ns3:name>Simple</ns3:name><ns3:description><ns3:p>Nur Schemaprüfung.</ns3:p></ns3:description><ns3:namespace prefix="cri">http://www.xoev.de/de/validator/framework/1/createreportinput
</ns3:namespace><ns3:namespace prefix="test">
http://validator.kosit.de/test-sample</ns3:namespace><ns3:namespace prefix="rpt">http://validator.kosit.de/test-report</ns3:namespace><ns3:match>/test:simple</ns3:match><ns3:validateWithXmlSchema><ns3:resource><ns3:name>Sample Schema</ns3:name><ns3:location>simple.xsd</ns3:location></ns3:resource></ns3:validateWithXmlSchema><ns3:validateWithSchematron><ns3:resource><ns3:name>Sample Schematron</ns3:name><ns3:location>simple.xsl</ns3:location></ns3:resource></ns3:validateWithSchematron><ns3:createReport><ns3:resource><ns3:name>Report für eRechnung</ns3:name><ns3:location>report.xsl</ns3:location></ns3:resource></ns3:createReport><ns3:acceptMatch>count(//test:rejected) = 0</ns3:acceptMatch></ns3:scenario><validationResultsWellformedness/><validationResultsXmlSchema><ns3:resource><ns3:name>Sample Schema</ns3:name><ns3:location>simple.xsd</ns3:location></ns3:resource></validationResultsXmlSchema><validationResultsSchematron><ns3:resource><ns3:name>Sample Schematron</ns3:name><ns3:location>simple.xsl</ns3:location></ns3:resource><results><ns2:schematron-output schemaVersion="" title="Schematron Simple"><ns2:ns-prefix-in-attribute-values prefix="xs" uri="http://www.w3.org/2001/XMLSchema"/><ns2:ns-prefix-in-attribute-values prefix="s" uri="http://validator.kosit.de/test-sample"/><ns2:active-pattern/><ns2:fired-rule context="s:simple"/></ns2:schematron-output></results></validationResultsSchematron></createReportInput></result><text>This content should be transferred to the result document</text></report>