On Thursday 2002-06-13 16:51, Robert Buck wrote: > There are three options: > > Option 1: > > allocate an unsigned short buffer nchars+1 long (number of unicode > characters, not C/C++ char's) > use XMLString::copyNString > use XMLString::transcode ()
Ok, that should be easy enough - but it should be a buffer of XMLCh (silently assuming type compatibilities is always bad) :+) Also, if this is something that explicitly can be done, the description for XMLString::copyNString () should be adapted to allow for non-terminated source strings. > It looks like there is an ommision for a convenience function that is > present in the transcoders. Please file a bug report specifying the api > that is missing from the XMLString class. Done -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) REALITY.SYS corrupted ... reboot Universe [Y,n]? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
