On Fri, Jun 02, 2006 at 08:40:35PM +0200, Jerome Flesch wrote:
> > I recall Frost having a nasty bug that caused it to crash whenever it
> > encountered a message malformed in a special way due to the parser not
> > handling error cases correctly. Using XML allows one to use existing XML
> > libraries for parsing instead of having to write a new parser, making it
> > much less likely that such unpleasantness occurs again.
> >
> Er ... Currently, I didn't look at Frost source code, but Frost messages seem 
> to be in XML, no ?

I think they are... ask bback... they may not always have been...
> 
> > This is especially 
> > important for non-Java programs, since they can easily develop far more
> > serious symptoms than simply crashing.
> >
> > It also allows for trivial backwards-compatible extension: simply state
> > that a program should ignore all tags and attributes it doesn't
> > understand, and you can extend the format as needed while the old programs
> > will still keep on working.
> >
> Yes, but I always fear to see one day strange / useless extensions from 
> programs made by someone else, and people asking me to add support for it ... 
> (Ok, it will probably not happen ...)

Certainly arbitrary metadata extensions are a good thing. Freenet 0.7
supports them for that reason, though we don't have an API for it yet.
-- 
Matthew J Toseland - toad at amphibian.dyndns.org
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20060602/b5689f77/attachment.pgp>

Reply via email to