Re: [xml] Why the strncasecmp() avoidance?

Date view Thread view Subject view Author view

From: Bjorn Reese (breese@mail1.stofanet.dk)
Date: Fri Sep 22 2000 - 12:48:13 EDT


Wayne Davison wrote:
>
> On Fri, 22 Sep 2000, Daniel Veillard wrote:
> > I see no problem if you provide xmlStrncasecmp(), yes go ahead !

May I suggest adding xmlStrEqual(), which would be equivalent to
xmlStrcasecmp()==0, and use this instead (and perhaps xmlStrEqualMax()
instead of xmlStrncasecmp()==0).

I've found that these names makes code more clear than their
<string.h> counterparts. You can find further examples of this
naming scheme in strio.h and the associated man page in the trio
package at

  http://www.contractor.se/~dast/trio/

----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Sep 22 2000 - 13:43:20 EDT