Hi !

I am using XERCES 1.7.0 within my app which writes data into XML-files,
I am using a SAX2-parser to parse the XML-documents.

I want to add a checksum to the XML-documents to ensure that users are not
editing the data.

I am thinking about adding a element to the end of the file which carries
the checksum

<checksum value=xxxx/>

I can imagine how to generate the checksum during writing the XML-document,
but
how can I do it during parsing it with my SAX2-handler ?

I am overriding startElement() and endElement() but I would need access to
EVERY character in the XML-file
to generate the checksum which I would have to compare with the one in the
XML-file.

How can I do this ?

Any help with this would be greatly appreciated,
thanx in advance!

Regards,
Hans Pesata



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to