RHEL6/input/guide.xml lacked a namespace declaration for <Benchmark> as well as citing a non-existent relative URI for schema location.
Gary Gapinski (1): Correct xsi:schemalocation to cite XCCDF 1.1.4 schema. Place <Benchmark> element in XCCDF namespace.
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..0a623fe 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="http://checklists.nist.gov/xccdf/1.1" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" id="RHEL-6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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 02/02/2013 03:50 AM, Gary Gapinski wrote:
RHEL6/input/guide.xml lacked a namespace declaration for <Benchmark> as well as citing a non-existent relative URI for schema location.
Gary Gapinski (1): Correct xsi:schemalocation to cite XCCDF 1.1.4 schema. Place <Benchmark> element in XCCDF namespace.
RHEL6/input/guide.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
I'm going to NACK myself for now.
The xsi:schemalocation change is OK.
The other change borks namespace handling starting at guide.xslt.
I'm currently trying to figure out how to properly handle transformation from un-namespaced XCCDF-like fragments to eventual assembly into XCCDF namespace while avoiding the inevitable problems that will arise when libxslt 1.1.27 (or other W3C-compliant XSLT engine) is used, such as the error found in xccdf2shorthand.xslt.
scap-security-guide@lists.fedorahosted.org