]> granicus.if.org Git - sysstat/commitdiff
Fix type for "intr" attribute in XSD document
authorSebastien GODARD <sysstat@orange.fr.fake>
Mon, 3 Jun 2013 19:20:01 +0000 (21:20 +0200)
committerSebastien GODARD <sysstat@orange.fr.fake>
Mon, 3 Jun 2013 19:20:01 +0000 (21:20 +0200)
Type for "intr" attribute was integer in XSD document.
Yet its value can sometimes be "sum" when displaying statistics for the
total number of interrupts received per second (sar -I SUM).
So change its type to string.

CHANGES
xml/sysstat.xsd

diff --git a/CHANGES b/CHANGES
index bab4036f337d6d9b5111b7e91ecf788a112bc8df..f8a1cdb89559848a08e5dcd2d94cbeaeea132742 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -9,7 +9,7 @@ xxxx/xx/xx: Version 10.1.6 - Sebastien Godard (sysstat <at> orange.fr)
          not followed by an argument. So it's now possible for example
          to enter 'iostat -px 2 5' since no device name is given to
          option -p. This also concerns pidstat option -U.
-       * Fixed type for memfree element in XSD document.
+       * Fixed type for "memfree" and "intr" elements in XSD document.
        * Removed functions used to count number of items from rd_stats.c
          and put them in a separate file (count.c).
        * Typos fixed. README file updated.
index fa4ec06dbd14c366bfac05a21d6ffa271ac09d4c..e7fdcc10c6e9572964b7f041b436c25871181e3b 100644 (file)
 
 <xs:element name="irq" type="irq-type"></xs:element>
 <xs:complexType name="irq-type">
-       <xs:attribute name="intr" type="xs:int"></xs:attribute>
+       <xs:attribute name="intr" type="xs:string"></xs:attribute>
        <xs:attribute name="value" type="hundredth-type"></xs:attribute>
 </xs:complexType>