SAP UI5 XML-View sap.ui.model.type.Time formatOptions
<p>I am stuck with a problem and hope to find somebody with a working solution.</p>

<p>The code (below) it working perfect in my JS-View. It retrieves the time from the sap netweaver gateway and displays it in the textview of a table.
The source pattern needs to be exately like this in the js-view: pattern: "'PT'hh'H'mm'M'ss'S'" , e.g. PT11H25M16S</p>

<p>JS-View:</p>

<pre><code>        template: new sap.ui.commons.TextView().bindProperty("text", "Uploadtime", new sap.ui.model.type.Time({
            source: {pattern: "'PT'hh'H'mm'M'ss'S'"},  
            pattern: "HH:mm:ss"}))
</code></pre>

<p>I am migrating this view to XML-view. Here now comes the problem. 
The same coding in XML view is not possible due to inverted comma, quotation mark issues. </p>

<p>XML-View:</p>

<p><strong>text = "{path:'Uploadtime',type:'sap.ui.model.type.Time',formatOptions:{ source : { pattern : "'PT'hh'H'mm'M'ss'S'" }, pattern : 'HH:mm:ss'}}"</strong></p>

<p>Unfortunately I have no idea left how to format it correctly to get it working.</p>

<p>A possible workaround would be using a formatter function in the controller.
But this should also be possible with type and formatOptions in the xml view.</p>