Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] XML string filtering
From: Samuel Thibault (samuel.thibault_at_[hidden])
Date: 2012-07-06 09:05:47

Brice Goglin, le Fri 06 Jul 2012 14:50:46 +0200, a écrit :
> I could just use isprint() to check every character
> before export and only keep those between 32 and 127.

Why not just taking 32-126? I don't see what isprint will bring.

> But what about \n,
> \t, \r, \f which are before ? Do we want to allow them?

I'd say so if they are allowed in the xml standard (I don't know whether
they are).