|
Boost : |
Subject: Re: [boost] htmlspecialchars and urlencode?
From: Bjorn Reese (breese_at_[hidden])
Date: 2015-02-20 07:13:17
On 02/20/2015 08:25 AM, Olaf van der Spek wrote:
> On Wed, Feb 18, 2015 at 1:44 PM, Mathias Gaunard
> <mathias.gaunard_at_[hidden]> wrote:
>> htmlspecialchars is just replacing < with <, > with > and & with &
>> (optionally " with " and ' with ' as well).
This does not take DTDs into account.
>> It's a trivial application of the replace algorithm to the world of HTML and
>> XML. I'm not sure the string algorithm lib is the right place for it, maybe
>> an XML lib would be better.
>
> Does Boost have a XML lib?
No (I do not count the XML parser in Boost.PropertyTree as an XML lib.)
There was a Boost.XML project at GSoC last year about creating C++
wrappers for other XML libraries, such as libxml2, but I do not know
its current status.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk