Verzeichnisstruktur erweitert, um Prüftool und Konfiguration XRechnung aufzunehmen.

This commit is contained in:
fbuettner 2017-10-26 10:24:07 +02:00
parent 0fd87014b4
commit 4eab984c01
161 changed files with 106853 additions and 11 deletions

View file

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Koordinierungsstelle für IT-Standards (KoSIT) under
~ one or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. KoSIT licenses this file
~ to you 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.
-->
<rep:report xmlns:rep="http://xoev.de/validation/report/1" xmlns:s="http://xoev.de/validation/scenarios/1" valid="true">
<rep:engine>
<rep:name>Prüfmodul der KoSIT POC</rep:name>
</rep:engine>
<rep:timestamp>2017-08-17T12:00:00</rep:timestamp>
<rep:documentIdentification>
<rep:documentHash>
<rep:hashAlgorithm>fake</rep:hashAlgorithm>
<rep:hashValue>0x0c</rep:hashValue>
</rep:documentHash>
<rep:documentReference>ABHanAZR_AllesKorrekt.xml</rep:documentReference>
</rep:documentIdentification>
<s:scenario>
<s:name>UBL 2.1 Invoice</s:name>
<s:namespace prefix="invoice">urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</s:namespace>
<s:match>/invoice:Invoice</s:match>
<s:validateWithXmlSchema>
<s:resource>
<s:name>UBL 2.1 Invoice</s:name>
<s:location>resources/eRechnung/UBL-2.1/xsdrt/maindoc/UBL-Invoice-2.1.xsd</s:location>
</s:resource>
</s:validateWithXmlSchema>
<s:validateWithSchematron>
<s:resource>
<s:name>BII Rules for Invoice</s:name>
<s:location>resources/eRechnung/BIS2.0-VA-V3.4.0/XSLT/BIIRULES-UBL-T10.xsl</s:location>
</s:resource>
</s:validateWithSchematron>
<s:validateWithSchematron>
<s:resource>
<s:name>openPEPPOL Rules for Invoice</s:name>
<s:location>resources/eRechnung/BIS2.0-VA-V3.4.0/XSLT/OPENPEPPOL-UBL-T10.xsl</s:location>
</s:resource>
</s:validateWithSchematron>
<s:createReport>
<s:resource>
<s:name>Report für eRechnung</s:name>
<s:location>resources/eRechnung/report-erechnung.xsl</s:location>
</s:resource>
</s:createReport>
</s:scenario>
<rep:documentData>
<rechnungsnummer>123</rechnungsnummer>
<rechnungssteller>ABC GmbH</rechnungssteller>
</rep:documentData>
<rep:validationResult>
<rep:validationStepResult id="step_1" valid="true">
<s:resource>
<s:name>UBL 2.1 Invoice</s:name>
<s:location>resources/eRechnung/UBL-2.1/xsdrt/maindoc/UBL-Invoice-2.1.xsd</s:location>
</s:resource>
<!--<rep:message id="message_1.1" level="error" lineNumber="1" columnNumber="120">Problem ...</rep:message>-->
</rep:validationStepResult>
<rep:validationStepResult id="step_2" valid="false">
<s:resource>
<s:name>openPEPPOL Rules for Invoice</s:name>
<s:location>../resources/eRechnung/BIS2.0-VA-V3.4.0/XSLT/OPENPEPPOL-UBL-T10.xsl</s:location>
</s:resource>
<rep:message id="message_2.1" level="warning" lineNumber="120" columnNumber="13" xpathLocation="..." code="EUGEN-T110-R013">[EUGEN-T110-R025]-UBLVersionID must be 2.1</rep:message>
</rep:validationStepResult>
</rep:validationResult>
<rep:assessment>
<rep:customLevel level="warning">EUGEN-T110-R024</rep:customLevel>
<rep:reject>
<rep:explanation id="enduser">
<html xmlns="http://www.w3.org/1999/xhtml"> ... </html>
</rep:explanation>
</rep:reject>
</rep:assessment>
</rep:report>

View file

@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Koordinierungsstelle für IT-Standards (KoSIT) under
~ one or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. KoSIT licenses this file
~ to you 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.
-->
<scenarios xmlns="http://www.xoev.de/de/validator/framework/1/scenarios" frameworkVersion="1.0.0">
<name>XInneres</name>
<date>2017-08-08</date>
<description>
<p>Prüft XInneres Nachrichten anhand der von uns offiziell herausgegebenen XML Schemata und Beispielen für mögliche weitergehende Prüfungen mit Schematron. </p>
<p>Prüft elektronische Rechnungen im Format UBL 2.1 </p>
</description>
<scenario>
<name>XMeld 2.1</name>
<namespace prefix="xmeld">http://www.osci.de/xmeld21</namespace>
<match>/xmeld:*</match>
<validateWithXmlSchema>
<resource>
<name>XML Schema von XMeld 2.1 (aggregiert)</name>
<location>resources/xmeld21/xmeld-nachrichten.xsd</location>
</resource>
</validateWithXmlSchema>
<validateWithSchematron>
<resource>
<name>XInneres Prüfregeln</name>
<location>resources/xmeld21/xinneres-pruefregeln.xsl</location>
</resource>
</validateWithSchematron>
<createReport>
<resource>
<name>Default Report</name>
<location>resources/default/report.xsl</location>
</resource>
</createReport>
</scenario>
<scenario>
<name>UBL 2.1 Invoice</name>
<namespace prefix="invoice">urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</namespace>
<match>/invoice:Invoice</match>
<validateWithXmlSchema>
<resource>
<name>UBL 2.1 Invoice</name>
<location>resources/eRechnung/UBL-2.1/xsdrt/maindoc/UBL-Invoice-2.1.xsd</location>
</resource>
</validateWithXmlSchema>
<validateWithSchematron>
<resource>
<name>BII Rules for Invoice</name>
<location>resources/eRechnung/BIS2.0-VA-V3.4.0/XSLT/BIIRULES-UBL-T10.xsl</location>
</resource>
</validateWithSchematron>
<validateWithSchematron>
<resource>
<name>openPEPPOL Rules for Invoice</name>
<location>resources/eRechnung/BIS2.0-VA-V3.4.0/XSLT/OPENPEPPOL-UBL-T10.xsl</location>
</resource>
</validateWithSchematron>
<createReport>
<resource>
<name>Report für eRechnung</name>
<!-- report-erechnung.xsl bindet report.xsl ein -->
<location>resources/eRechnung/report-erechnung.xsl</location>
</resource>
<customLevel level="warning">EUGEN-T110-R019</customLevel>
</createReport>
<!--<createReport>
<name>Report für eRechnung (Dataport-Fassung)</name>
<location>resources/eRechnung/report-erechnung-dataport.xsl</location>
</createReport>-->
</scenario>
<noScenarioReport>
<resource>
<name>default</name>
<location>resources/eRechnung/report.xsl</location>
</resource>
</noScenarioReport>
</scenarios>