Kismet Wireless

Kismet Forums


Posted by:dragorn
Subject:Missing structures in XML DTD
Date:19:53:06 17/08/2009

> packets is a structure used in "wireless-network" and "wireless-client". But packets is also a child from SSID. Which are both the same tag. Don't get me wrong this is nobodys fault or wrong it is just a con from DTD. It does not support NameSpaces. So both "Packets" are from the same Object Type. Which leads to the following problem: If you are using a DTD to Object Mapper (JAXB) both "Packets" are resembled by the same class. As I said this is a weakness of DTD. The easiest solution is to use XML Schmema the successor of DTD. If you give your "go" I could go threw the code and create an XML schema. Another benefit of XML Schema would be, that the Attributes would have real type like int, bool.. etc... So just tell me if you would accept an XML Schema file for kismet..

I have no objections to a schema file whatsoever, let me know what I need to do in the code to reference it in the file (i assume it has a reference similar to DTD).

I don't do DOM parsing so I never hit these problems.


Reply to this message