W3C home > Mailing lists > Public > public-xml-processing-model-comments@w3.org > October 2011

Re: Charsets, encodings, http-request, unescape-markup, and convenience, oh my!

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 10 Oct 2011 08:58:50 -0400
To: public-xml-processing-model-comments@w3.org
Message-ID: <m2hb3hoved.fsf@nwalsh.com>
Florent Georges <fgeorges@fgeorges.org> writes:

> On 6 October 2011 21:45, Norman Walsh wrote:
>
>>      <c:request method="get" href="http://tests.xproc.org/tests/doc/html-utf8.data"/>
>> [...]
>> It returns a base64 encoded document:
>
>   In my humble opinion, I think those problems wouldn't happen if HTML
> content was parsed as a document node directly by the http-request
> step.  The step can access the HTTP response context (including the
> charset if any) and parse the HTML content directly into a document
> node, e.g. following the same rules as in escape-markup.  Or did I
> miss something?

I share Vojtech's reservations, but I'm inclined to agree.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676
www.marklogic.com

Received on Monday, 10 October 2011 12:59:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 10 October 2011 12:59:18 GMT