Citing an extant schema URI propagates into generated XCCDF documents which can then be validated using that schema.
The guide.xml document previously cited a non-existent relative URI.
Gary Gapinski (1): Changed xsi:schemalocation to cite "canonical" XCCDF 1.1.4 schema URI
RHEL6/input/guide.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Gary Gapinski gary@garygapinski.com --- RHEL6/input/guide.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/RHEL6/input/guide.xml b/RHEL6/input/guide.xml index 393de70..64dbeab 100644 --- a/RHEL6/input/guide.xml +++ b/RHEL6/input/guide.xml @@ -1,5 +1,5 @@ <?xml version="1.0"?> -<Benchmark xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" id="RHEL-6" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 xccdf-1.1.4.xsd" resolved="false" xml:lang="en-US" > +<Benchmark xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" id="RHEL-6" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 http://scap.nist.gov/schema/xccdf/1.1/xccdf-1.1.4.xsd" resolved="false" xml:lang="en-US" >
<status date="2011-12-20">draft</status> <title>DRAFT Guide to the Secure Configuration of Red Hat Enterprise Linux 6</title>
On 2/21/13 8:42 PM, Gary Gapinski wrote:
-<Benchmark xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" id="RHEL-6" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 xccdf-1.1.4.xsd" resolved="false" xml:lang="en-US" > +<Benchmark xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" id="RHEL-6" xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 http://scap.nist.gov/schema/xccdf/1.1/xccdf-1.1.4.xsd" resolved="false" xml:lang="en-US" >
The new schemaLocation has two URLs in it (but you're right, that needs to be http://scap.nist.gov/schema/xccdf/1.1/xccdf-1.1.4.xsd)
On 02/21/2013 10:34 PM, Shawn Wells wrote:
The new schemaLocation has two URLs in it
Not sure what you mean by this. The first space-separated URI is the namespace; the second is the associated schema.
On 02/21/2013 10:46 PM, Gary Gapinski wrote:
On 02/21/2013 10:34 PM, Shawn Wells wrote:
The new schemaLocation has two URLs in it
Not sure what you mean by this. The first space-separated URI is the namespace; the second is the associated schema.
The diff is not showing proper old and new.
The old had xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 xccdf-1.1.4.xsd".
The new has xsi:schemaLocation="http://checklists.nist.gov/xccdf/1.1 http://scap.nist.gov/schema/xccdf/1.1/xccdf-1.1.4.xsd".
scap-security-guide@lists.fedorahosted.org