1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-07 22:16:33 +00:00

Remove the error element from the XML DTD. It was supposed to be a child

of trace, but I don't think it has ever been emitted since traceroute
was added in r4556.
This commit is contained in:
david
2010-04-07 23:26:09 +00:00
parent ab654ecc34
commit 838127d565
2 changed files with 1 additions and 9 deletions

View File

@@ -287,7 +287,7 @@
values CDATA #IMPLIED
>
<!ELEMENT trace (hop*, error?) >
<!ELEMENT trace (hop*) >
<!ATTLIST trace
proto CDATA #IMPLIED
port CDATA #IMPLIED
@@ -301,11 +301,6 @@
host CDATA #IMPLIED
>
<!ELEMENT error EMPTY>
<!ATTLIST error
errorstr CDATA #IMPLIED
>
<!ELEMENT times EMPTY>
<!ATTLIST times
srtt CDATA #REQUIRED

View File

@@ -758,9 +758,6 @@
</xsl:when>
</xsl:choose>
<li>proto: <xsl:value-of select="@proto" /></li>
<xsl:for-each select="error">
<li>error: <xsl:value-of select="@errorstr"/></li>
</xsl:for-each>
</ul>
<table cellspacing="1">
<tr class="head">