You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Wireshark dictionary files are meant to be used as includes in the parent dictionary.xml file:
<!DOCTYPE dictionary SYSTEM "dictionary.dtd" [
<!-- Any files added here need to be added to Makefile.am and
packaging/nsis/wireshark.nsi -->
<!ENTITY nasreq SYSTEM "nasreq.xml">
<!ENTITY eap SYSTEM "eap.xml">
<!ENTITY mobileipv4 SYSTEM "mobileipv4.xml">
<!ENTITY chargecontrol SYSTEM "chargecontrol.xml">
<!ENTITY sunping SYSTEM "sunping.xml">
<!ENTITY TGPP SYSTEM "TGPP.xml">
...
&nasreq;
&eap;
&mobileipv4;
&chargecontrol;
&sunping;
&TGPP;
...
</dictionary>
The proper way to parse these dictionaries would be to use an XML parser that will interpret <!ENTITY ... SYSTEM ...> to include these fragments, but sax-js isn't such parser.
The problem with the current approach of parsing individual files like TGPP.xml is, they contain more than one <application> root tag. They are invalid XML since there needs to be only one root tag. The SAX parser that is currently being used just ignores the additional <application> tags, leading to many AVPs to be excluded from the compiled dictionary.
The text was updated successfully, but these errors were encountered:
The Wireshark dictionary files are meant to be used as includes in the parent dictionary.xml file:
The proper way to parse these dictionaries would be to use an XML parser that will interpret
<!ENTITY ... SYSTEM ...>
to include these fragments, but sax-js isn't such parser.The problem with the current approach of parsing individual files like TGPP.xml is, they contain more than one
<application>
root tag. They are invalid XML since there needs to be only one root tag. The SAX parser that is currently being used just ignores the additional<application>
tags, leading to many AVPs to be excluded from the compiled dictionary.The text was updated successfully, but these errors were encountered: