Request for Discussion: SAX 1.0 in C++

Steinar Bang sb at metis.no
Sat Dec 25 13:24:47 GMT 1999


>>>>> Steve Harris <seh at speakeasy.org>:

> ... It seems that so long as the compiler will guarantee that you
> can fit _at least_ 16 bits in a wchar_t, then your translation code
> would be sufficiently portable.

If you store a lot of strings (as we do), I'm afraid using twice the
amount of space that we actually need will be, will be a serious
perfomance killer.

I'm also worried that basic_string<> seems to really be meant for
uniform width character codings, and I'm not sure what happens once we
run into the surrogates that extends the coding beyond UCS-2.  Will we
be able to use it?  Will it create trouble of some sort?

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list