OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: Request for Discussion: SAX 1.0 in C++

[ Lists Home | Date Index | Thread Index ]
  • From: Marc Lepage <mlepage@antimeta.com>
  • To: xml-dev@ic.ac.uk
  • Date: Wed, 15 Dec 1999 21:36:49 -0500

Steinar Bang wrote:
> 
> >>>>> roddey@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@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@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS