string function : Tamino - > 4.2

I’ve a DB with data like that:

</pre><BR><BR>start & end dates are in date format (not string).<BR><BR>With Tamino my query return is <BR><BR><pre class="ip-ubbcode-code-pre">
</pre><BR><BR>no problem. with Tamino 4.2 the query return this :<BR><pre class="ip-ubbcode-code-pre"> 
<ino:message ino:returnvalue="6366">

  <ino:messagetext ino:code="INOXQE6366">Type exception: invalid input for function</ino:messagetext> 

<ino:messageline>Function: string; line 3, column 109: <![CDATA[string($data/startdate]]></ino:messageline> 

if I remove the string function, it’s working, but I need it for better formated return


I sucessfuly tried
declare namespace xs = ""
with my Tamino 4.2.
Either my 4.2 is not the same as yours (unlikely) or your
schema & data contain some interesting bit that irritates
our typing mechanism. Please send those to me or tell me
where I can find them and I’ll have a look.

Thanks & regards,