Skip to content

Commit 334b53c

Browse files
committed
Fix schematron-version attribute in test datastreams
OpenSCAP 1.3.1 won't play with us if we use schematron-version=1.0. Let's play according new rules. Addressing: https://bugzilla.redhat.com/show_bug.cgi?id=1736618 This is equivalent of OpenSCAP/openscap@b967d10
1 parent 9d8948f commit 334b53c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/data/sds-complex.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<ds:data-stream-collection xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog" id="scap_org.open-scap_collection_from_xccdf_first-xccdf.xml" schematron-version="1.0">
2+
<ds:data-stream-collection xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog" id="scap_org.open-scap_collection_from_xccdf_first-xccdf.xml" schematron-version="1.2">
33
<!-- This is bit more complex Datastream. The purpose is to test that scanner is able to find
44
* datastream-id scap_org.open-scap_datastream_tst2
55
* xccdf-id scap_org.open-scap_cref_second-xccdf.xml2

0 commit comments

Comments
 (0)