1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-06 14:39:03 +00:00

Make osclass XML elements children of the osmatch element they belong to.

Add the --deprecated-xml-osclass to restore the old output.
This commit is contained in:
david
2012-05-05 18:02:33 +00:00
parent 20b56cb6a2
commit 1599aa6fe8
6 changed files with 40 additions and 7 deletions

View File

@@ -235,7 +235,7 @@
output CDATA #REQUIRED
>
<!ELEMENT os ( portused* , osclass*, osmatch*, osfingerprint* ) >
<!ELEMENT os ( portused* , osmatch*, osfingerprint* ) >
<!ELEMENT portused EMPTY >
<!ATTLIST portused
@@ -253,7 +253,7 @@
>
<!ELEMENT osmatch EMPTY >
<!ELEMENT osmatch (osclass*) >
<!ATTLIST osmatch
name CDATA #REQUIRED
accuracy %attr_numeric; #REQUIRED