[XML-SIG] Deleting and appending of a file, without reading into memory

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri, 4 May 2001 00:04:22 +0200

> This is fragile; what if there is trailing whitespace at the end of
> the file?  What if the closing tag is written strangely, as '< /
> closing >' or something like that?  

If this CGI script is the only application that ever modifies the
document, the approach seems fine to me - although it is certainly
questionable why to use XML in the first place, here.