W3C home > Mailing lists > Public > www-forms@w3.org > August 2009

xf:output, @mediatype and @value

From: Philipp Wagner <news@philipp-wagner.com>
Date: Tue, 11 Aug 2009 17:38:19 +0200
To: www-forms@w3.org
Message-ID: <h5s39d$812$1@ger.gmane.org>

recently Mozilla XForms got a bug report [1] that the following is not

<xf:output mediatype="image/png" value="'xml.png'"/>

Expected behavior was displaying the image. The real use case for this
remains unclear (you could just use a html:img in that case or whatever
the host language provides you to display images).

While the fix is straightforward, a question remains:
Are we always supposed to treat @value as anyURI if @mediatype is set to
"image/*"? Orbeon seems to do this for at least this case as well [2].
Are there other cases where we should/could make such an assumption?

A clarification would be greatly appreciated.


[1] https://bugzilla.mozilla.org/show_bug.cgi?id=507621
Received on Tuesday, 11 August 2009 21:08:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:22 UTC