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

consider xsi:type in c:result elements

From: James Fuller <james.fuller.2007@gmail.com>
Date: Mon, 7 Jul 2008 18:07:21 +0200
Message-ID: <a0ad8ffe0807070907u4e6b8cccqeaea8f487eb12801@mail.gmail.com>
To: public-xml-processing-model-comments@w3.org

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 July 2008 16:07:59 GMT