From 658838f62c4e5fff75949f58f4db4ee2df98d63f Mon Sep 17 00:00:00 2001 From: seb Date: Mon, 19 Nov 2012 21:48:40 +0100 Subject: [PATCH] Fixed DTD document. When computer has run all day without restart, XML output file from sadf -x contains no boot elements. So change DTD document accordingly (from to ). XSD document is not updated, but its version number changes to remain consistent with that of DTD document. Bug reported by Peter Schiffer 13/11/2012. --- CHANGES | 2 ++ sadf.h | 2 +- xml/{sysstat-2.14.dtd => sysstat-2.15.dtd} | 4 ++-- xml/sysstat.xsd | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) rename xml/{sysstat-2.14.dtd => sysstat-2.15.dtd} (99%) diff --git a/CHANGES b/CHANGES index bce0d04..4cc5e28 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ Changes: xxxx/xx/xx: Version 10.1.3 - Sebastien Godard (sysstat orange.fr) + * Fixed DTD document: If computer has run all day without + restart, XML output file from sadf -x has no boot elements. 2012/10/06: Version 10.1.2 - Sebastien Godard (sysstat orange.fr) * New field added to sar -u and mpstat: %gnice (time spent diff --git a/sadf.h b/sadf.h index 451a96e..786d3b0 100644 --- a/sadf.h +++ b/sadf.h @@ -9,7 +9,7 @@ #include "sa.h" /* DTD version for XML output */ -#define XML_DTD_VERSION "2.14" +#define XML_DTD_VERSION "2.15" /* Possible actions for functions used to display reports */ #define F_BEGIN 0x01 diff --git a/xml/sysstat-2.14.dtd b/xml/sysstat-2.15.dtd similarity index 99% rename from xml/sysstat-2.14.dtd rename to xml/sysstat-2.15.dtd index a9086d6..e0b7bfb 100644 --- a/xml/sysstat-2.14.dtd +++ b/xml/sysstat-2.15.dtd @@ -1,5 +1,5 @@ - + @@ -33,7 +33,7 @@ interval CDATA #REQUIRED > - + - -- XML Schema v2.14 for sysstat. See sadf.h -- + -- XML Schema v2.15 for sysstat. See sadf.h -- -- 2.40.0