W3C home > Mailing lists > Public > xproc-dev@w3.org > February 2009

Expected results of http-request-005

From: Norman Walsh <ndw@nwalsh.com>
Date: Mon, 02 Feb 2009 18:59:40 -0500
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2d4e0mlub.fsf@nwalsh.com>
Has anyone else attempted to pass the http-request-005 test?

  http://tests.xproc.org/tests/required/http-request-005.xml

Having now rewritten the Calabash code that decodes multipart MIME
messages, I'm confident that the expected results are incorrect. You
can test this yourself by cutting out the base64 encoded lines of the
second part and decoding them. The result is not a valid PNG file.

In case you think you're passing that test :-), my guess is that my
old code was (incorrectly) interpreting the byte stream of the image
as UTF-8.

I must have assumed I got it right and used my earlier output as the
expected result. My bad.

If no one disagrees, I'm going to correct the expected results of
http-request-005.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | What good is a can of worms if you
http://nwalsh.com/            | never open it?--Bob Arning

Received on Tuesday, 3 February 2009 00:00:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 February 2009 00:00:25 GMT