mirror of
https://github.com/BlackLight/Snort_AIPreproc.git
synced 2024-11-23 20:25:12 +01:00
Fixing DTDs
This commit is contained in:
parent
2e5b63ad92
commit
22666f0c3b
3 changed files with 6 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
|||
<!DOCTYPE correlations[
|
||||
<!ELEMENT correlations (correlation)*>
|
||||
<!ELEMENT correlation (from, to)>
|
||||
<!ELEMENT from EMPTY>
|
||||
<!ELEMENT to EMPTY>
|
||||
|
||||
<!ATTLIST from
|
||||
sid CDATA #REQUIRED
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
<!DOCTYPE clusters[
|
||||
<!ELEMENT cluster (alert)*>
|
||||
<!ELEMENT alert EMPTY>
|
||||
<!ATTLIST cluster id CDATA #REQUIRED>
|
||||
<!ATTLIST alert
|
||||
desc CDATA
|
||||
|
|
|
@ -64,7 +64,9 @@ __AI_neural_clusters_to_xml ( kmeans_t *km, AI_alerts_per_neuron *alerts_per_neu
|
|||
}
|
||||
|
||||
fprintf ( fp, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
|
||||
"<?xml-stylesheet href=\"default.xsl\" type=\"text/xsl\"?>\n\n"
|
||||
"<?xml-stylesheet href=\"default.xsl\" type=\"text/xsl\"?>\n"
|
||||
"<!DOCTYPE neural-clusters PUBLIC \"-//blacklight//DTD NEURAL CLUSTERS//EN\" "
|
||||
"\"http://0x00.ath.cx/neural_clusters.dtd\">\n\n"
|
||||
"<clusters>\n" );
|
||||
|
||||
for ( i=0; i < km->k; i++ )
|
||||
|
|
Loading…
Reference in a new issue