W3C home > Mailing lists > Public > public-xformsusers@w3.org > December 2017

Re: Proposal (or not) for <label mediatype="text/html">

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 06 Dec 2017 11:16:06 +0100
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>, "Erik Bruchez" <ebruchez@orbeon.com>
Message-ID: <op.zatlg41bsmjzpq@steven-xps>
On Wed, 06 Dec 2017 07:44:04 +0100, Erik Bruchez <ebruchez@orbeon.com>  

> All,
> I was going to propose this. I thought we had already:
>     <output mediatype="text/html">
> And this might be valid, but we don't mention it anywhere in the spec.
> We only mention image mediatypes.

Actually, we only give examples uses images. However, the spec says:

"The data is rendered in a suitable way taking into account the datatype  
of the value, the mediatype if any, the appearance attribute, and  
localization and internationalization issues such as representation of  
numbers and dates."

so it is fairly open for an implementation.

We could discuss what we consider a reasonable minimum set of mediatypes  
to recommend.

I'll put it on the agenda.

By the way, the subject line mentions <label> and then you talk about  
<output>. Are you proposing it for both?
It seems to me that we should try to ensure that <label> and <output> are  


> However, XForms 2 adds the xf:htmlFragment type, and I think that with
> this we should be able to just write;
>    <label ref="point/to/value/with/htmlFragment/type">
> If that is the case, maybe we should explicitly say so in the spec.
> -Erik
Received on Wednesday, 6 December 2017 10:16:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 6 December 2017 10:16:43 UTC