Simple XSA client

Version: 1.00
Author: Lars Marius Garshol
Email: larsga@ifi.uio.no
Released: 22.Mar.99

The SimpleClient is an XSA client that reads a list of XSA documents and then checks each document to see if any of the information in it has changed since the last time the document was checked.

Command-line operation

java SimpleClient [-s] documentlist savefile

Options:

-s
This option suppresses the standard startup message, making the client print nothing but error messages and change notifications.
documentlist
This is the file where the list of documents is stored. This must be an XML document. A sample (documents.xml) comes with the client.
savefile
This is the file where the results of this run will be stored, and where the client will look for the results from the previous run. If the file does not exist it is created.

Document list file format

The document list uses an XML DTD which is exceedingly simple. The elements are:

prodlist
the root element
xsadoc
represents an XSA document. Has two attributes:

The actual DTD is:

<!ELEMENT prodlist (xsadoc+)>

<!ELEMENT xsadoc EMPTY>

<!ATTLIST xsadoc url  CDATA    #REQUIRED
                 pids NMTOKENS #IMPLIED>

Required software

Possible later extensions

Suggestions of all kinds are welcome.


Lars Marius Garshol, 19990322.