Hi,
2005/11/30, Royce Mitchell III <royce3(a)ev1.net>et>:
mf(a)svn.reactos.com wrote:
- LPXSSTR buffer =
(LPXSSTR)alloca(5*sizeof(XS_CHAR)*XS_len(s)); // worst case. "&"
+ LPXSSTR buffer = (LPXSSTR)alloca(6*sizeof(XS_CHAR)*XS_len(s)); // worst case
""" / "'"
http://www.notestips.com/80256B3A007F2692/1/NAMO5FTHEJ
±
ε
Well, the EncodeXMLString() function only encodes a few special
characters, not the whole set of possible HTML names: &, <, >, " and '
So th worst case is in fact """ or "'".
Regards,
Martin