mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
98 lines
3.3 KiB
XML
98 lines
3.3 KiB
XML
<?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.1.2">
|
|
<name>HTML-TestSuite</name>
|
|
<author>QA</author>
|
|
<date>2017-08-08</date>
|
|
<description>
|
|
<p>Szenario für Tests</p>
|
|
</description>
|
|
|
|
<scenario>
|
|
<name>Simple</name>
|
|
<description>
|
|
<p>Nur Schemaprüfung.</p>
|
|
</description>
|
|
<namespace prefix="cri">http://www.xoev.de/de/validator/framework/1/createreportinput
|
|
</namespace>
|
|
<namespace prefix="test">
|
|
http://validator.kosit.de/test-sample</namespace>
|
|
<namespace prefix="rpt">http://validator.kosit.de/test-report</namespace>
|
|
<match>/test:simple</match>
|
|
|
|
<validateWithXmlSchema>
|
|
<resource>
|
|
<name>Sample Schema</name>
|
|
<location>simple.xsd</location>
|
|
</resource>
|
|
</validateWithXmlSchema>
|
|
<validateWithSchematron>
|
|
<resource>
|
|
<name>Sample Schematron</name>
|
|
<location>simple.xsl</location>
|
|
</resource>
|
|
</validateWithSchematron>
|
|
<createReport>
|
|
<resource>
|
|
<name>Report für eRechnung</name>
|
|
<location>report.xsl</location>
|
|
</resource>
|
|
</createReport>
|
|
<acceptMatch>count(//test:rejected) = 0</acceptMatch>
|
|
</scenario>
|
|
|
|
<scenario>
|
|
<name>NoAcceptMatch</name>
|
|
<description>
|
|
<p>Nur Schemaprüfung. Keine AcceptMatch deklaration</p>
|
|
<p>Testen, ob auch alte Konfiguration funktionioeren</p>
|
|
</description>
|
|
<namespace prefix="test">http://validator.kosit.de/test-sample</namespace>
|
|
<match>/test:foo</match>
|
|
<validateWithXmlSchema>
|
|
<resource>
|
|
<name>Sample Schema</name>
|
|
<location>simple.xsd</location>
|
|
</resource>
|
|
</validateWithXmlSchema>
|
|
<validateWithSchematron>
|
|
<resource>
|
|
<name>Sample Schematron</name>
|
|
<location>simple.xsl</location>
|
|
</resource>
|
|
</validateWithSchematron>
|
|
<createReport>
|
|
<resource>
|
|
<name>Report für eRechnung</name>
|
|
<location>report.xsl</location>
|
|
</resource>
|
|
</createReport>
|
|
</scenario>
|
|
|
|
|
|
<noScenarioReport>
|
|
<resource>
|
|
<name>default</name>
|
|
<location>report.xsl</location>
|
|
</resource>
|
|
</noScenarioReport>
|
|
|
|
</scenarios>
|