Request for Discussion: SAX 1.0 in C++

Marc Lepage mlepage at antimeta.com
Thu Dec 16 02:36:59 GMT 1999


Steinar Bang wrote:
> 
> >>>>> roddey at us.ibm.com:
> 
> This statement:
> 
> > ... If it were up to me, I'd say use every modern service of C++ and
> > those who don't have compliant C++ implementation can have a good reason to
> > get one.
> [...]
> 
> conflicts with this statement:
> 
> > 2) We would prefer that all data come out of the SAX interfaces as
> > raw wchar_t strings. This is the most flexible mechanism and does
> > not lock people into using any particular implementation of a string
> > object. It also has the highest potential performance for those
> > folks who never need to put it into anything more formal than a raw
> > array.
> 
> std::basic_string<> _is_ a modern service of C++, and a pretty good
> one from an API point of view.
> 
> Personally I say: use std::basic_string<> and death to all other
> string representations in C++.

Agreed. I don't see why you need to obviate the C++ standard library
string. If it's that bad, upgrade your compiler environment (e.g.
Windows) or install an entirely new one (e.g. STLport and the like).

-- 
Marc Lepage
http://www.antimeta.com/
Minion open source game, RTS game programming, etc.

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