consider xsi:type in c:result elements

its been pointed out to me that the XProc spec says nothing about
having to qualify datatypes in serialized output

e.g. consider

<?xml version="1.0" encoding="UTF-8"?>
<c:result xmlns:c="http://www.w3.org/ns/xproc-step">true</c:result>

vs

<?xml version="1.0" encoding="UTF-8"?>
<c:result xmlns:c="http://www.w3.org/ns/xproc-step"
xsi:type="xs:boolean">true</c:result>

I personally subscribe to this view
http://norman.walsh.name/2004/01/29/trainwreck of the use of xsi:type,
but we may want to consider this case.

also ... I am unsure how all this relates to the normalization-form
attribute on p:serialisation

cheers, jim

Received on Monday, 7 July 2008 16:07:59 UTC