Allowing multiple result on the XProc test suite

Dear all,

There is an interesting case in the XProc testsuite (p:unescape-markup-004)

It looks like every body agree to convert
This base64 text
[[
PGh0bWw+CjxoZWFkPgo8dGl0bGU+QW4gSFRNTCBEb2N1bWVudDwvdGl0bGU+CjwvaGVhZD4KPGJv
ZHk+CjxwPldpdGggPGVtPjxiPmJyb2tlbjwvZW0+PC9iPiBtYXJrdXAuCjwvYm9keT4KPC9odG1s
Pgo=
]]

Into this HTML string
[[
<html>
<head>
<title>An HTML Document</title>
</head>
<body>
<p>With <em><b>broken</em></b> markup.
</body>
</html>
]]

and then many XProc implementation agree on converting this to

[[

<html xmlns="http://www.w3.org/1999/xhtml">
      <head>
         <title>An HTML Document</title>
      </head>
      <body>
         <p>With <em>
               <b>broken</b>
            </em>
            <b/> markup.
</p>
      </body>
   </html>

]]

But that where the problem lies

HTML LIVE DOM says that it must be

http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Chtml%3E%0A%3Chead%3E%0A%3Ctitle%3EAn%20HTML%20Document%3C%2Ftitle%3E%0A%3C%2Fhead%3E%0A%3Cbody%3E%0A%3Cp%3EWith%20%3Cem%3E%3Cb%3Ebroken%3C%2Fem%3E%3C%2Fb%3E%20markup.%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E%0A

Which would make Calabash be the only to answer correctly

How do we deal with this

1) We say Calabash is right and fix the test
2) We keep saying Calabash is wrong
3) We say Both are right and add a way to put it into the testsuite

Mohamed
-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Wednesday, 12 September 2012 14:29:35 UTC