Skip to content

Commit

Permalink
sadf: XML: Update XSD and DTD documents
Browse files Browse the repository at this point in the history
Field "retrans/s" is renamed "retrseg/s" for A_NET_ETCP report.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
  • Loading branch information
sysstat committed Jan 20, 2024
1 parent 3fc0f41 commit c30b2ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sadf.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "sa.h"

/* DTD version for XML output */
#define XML_DTD_VERSION "3.16"
#define XML_DTD_VERSION "3.17"

/* Various constants */
enum {
Expand Down
4 changes: 2 additions & 2 deletions xml/sysstat-3.16.dtd → xml/sysstat-3.17.dtd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--DTD v3.16 for sysstat. See sadf.h -->
<!--DTD v3.17 for sysstat. See sadf.h -->

<!ELEMENT sysstat (sysdata-version, host)>
<!ATTLIST sysstat
Expand Down Expand Up @@ -417,7 +417,7 @@
<!ATTLIST net-etcp
atmptf CDATA #REQUIRED
estres CDATA #REQUIRED
retrans CDATA #REQUIRED
retrseg CDATA #REQUIRED
isegerr CDATA #REQUIRED
orsts CDATA #REQUIRED
>
Expand Down
4 changes: 2 additions & 2 deletions xml/sysstat.xsd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="https://sysstat.github.io" targetNamespace="https://sysstat.github.io" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo>-- XML Schema v3.16 for sysstat. See sadf.h --</xs:appinfo>
<xs:appinfo>-- XML Schema v3.17 for sysstat. See sadf.h --</xs:appinfo>
</xs:annotation>

<xs:element name="sysstat" type="sysstat-type"></xs:element>
Expand Down Expand Up @@ -537,7 +537,7 @@
<xs:complexType name="net-etcp-type">
<xs:attribute name="atmptf" type="hundredth-type" use="required"></xs:attribute>
<xs:attribute name="estres" type="hundredth-type" use="required"></xs:attribute>
<xs:attribute name="retrans" type="hundredth-type" use="required"></xs:attribute>
<xs:attribute name="retrseg" type="hundredth-type" use="required"></xs:attribute>
<xs:attribute name="isegerr" type="hundredth-type" use="required"></xs:attribute>
<xs:attribute name="orsts" type="hundredth-type" use="required"></xs:attribute>
</xs:complexType>
Expand Down

0 comments on commit c30b2ca

Please sign in to comment.