Re: [PATCH 2/5] connectivity: Add libxml2 as a dependency



On Tue, 2013-02-19 at 01:45 +0100, Marcel Holtmann wrote:
Hi Jonh,

Plus, as I stated earlier, libxml will be required to handle Wispr
responses (and hotspot 2.0), which are legitimate XML trees. So, why not
just add it as a dependency right now?

that is a funny comment since within ConnMan, we are using GMarkup to
handle the WISPr login. And actually if you are looking at anything of
the HTML except the WISPr XML you are doing something wrong. Do not
bother parsing the HTML page. Either operators add the WISPr XML
somewhere or they end up hiding it in comment section.

I am also confused what Hotspot 2.0 has to do with XML. Am I reading a
different specification than you are?

Yeah I think GMarkup can handle most of the XML stuff.  But if we want
to better handle random hotspots in the future (like my hotel one) we
may need to do some HTML parsing.  I don't necessarily think that would
require XML though, perhaps just regex.

Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]