I want to create a JAR that compresses XML data using a Byte table concept i.e. replace known tags with equivalent bytes from a known data dictionary. There should be two discrete methods:
1. Sender parses XML string and returns a compressed byte array and also optionally a string of the XML data.
2. The receiver converts the message received back to un-compressed XML. The receiver can receive a byte array or compressed string spending on method call.
A data dictionary concept must be used and maybe a separate method can be created to send and receive the dictionary XML as a separate send/receive method.
The code must be able to work with JDK 1.3 as the idea is to produce a library that can be used in any Java application and or mobile Java API. Optionally a separate JAR project could be created using JDK 1.5 for later i.e. using internal ArrayList/List functions available in later JDK version.