You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by Sébastien Demers <sd...@popupsolutions.com> on 2003/08/28 22:35:28 UTC

posting code

<
Hi Sebastien,

This has been fixed for quite a while in CVS.  It'll definitely be in the
next release (schedule for a little less than 2 months from now).
>

cool.

I dont know if I'm in the good place for posting suggestion of code (not
really bugs) like the following code in the file \util\XMLString.cpp

unsigned int XMLString::stringLen(const XMLCh* const src)
{
    if (src == 0 || *src == 0)
    {
        return 0;
   }
    else
   {
        return std::char_traits<XMLCh>::length(src);
   }
}

This small modification will accelerate considerably general parsing of
large input stream.

I have modified several files in library for this kind of problem and each
time a new library revision is posted, I have to update my files.

- Sebastien

----- Original Message ----- 
From: "Neil Graham" <ne...@ca.ibm.com>
To: <xe...@xml.apache.org>
Sent: Thursday, August 28, 2003 3:52 PM
Subject: Re: mess with <iostream.h>


Hi Sebastien,

This has been fixed for quite a while in CVS.  It'll definitely be in the
next release (schedule for a little less than 2 months from now).

Cheers,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone:  905-413-3519, T/L 969-3519
E-mail:  neilg@ca.ibm.com




|---------+---------------------------->
|         |           Sébastien Demers |
|         |           <sdemers@popupsol|
|         |           utions.com>      |
|         |                            |
|         |           08/28/2003 03:46 |
|         |           PM               |
|         |           Please respond to|
|         |           xerces-c-dev     |
|         |                            |
|---------+---------------------------->

>---------------------------------------------------------------------------
------------------------------------------------------------------|
  |
|
  |       To:       <xe...@xml.apache.org>
|
  |       cc:
|
  |       Subject:  mess with <iostream.h>
|
  |
|
  |
|

>---------------------------------------------------------------------------
------------------------------------------------------------------|



In several files iostream.h, is still used in favor of iostream

Since the file iostream.h is obsolate. Why new revisions still using this
file instead of using iostream with a small using std::cout; ????

Please have a look in the file
xerces/c/src/xercesc/framework/StdOutFormatTarget.cpp for a party of mess.

- Sebastien



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org