OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Fast text output from SAX?

[ Lists Home | Date Index | Thread Index ]

Bjoern Hoehrmann <derhoermi@gmx.net> writes:

> In order to know whether the checksum is correct the parser 
> would need to read the complete document and calculate the 
> checksum. 

No. There are many algorithms that work on partial fragments.  The
standard Java security.MessageDigest classes for example.  As long as
both sides agree what the buffer size is and what the algorithm is you
don't need to handle the entire document at once.





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS