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

Why XForms 1.1 output/@mediatype exclude text/*?

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Wed, 16 Aug 2006 11:48:44 -0700
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF4021EB3EA@usa7061ms01.na.xerox.net>
To: <www-forms@w3.org>

Why is the proposed XForms 1.1 output/@mediatype limited to nontext


Even before XForms 1.0, FormsPlayer had implemented and shown the value
of output bound to text/html.

Since Atom support is a goal, this would fit right in, as RFC 4287
defines two formats for carrying markup in text fields:
An escaped text/html form and a complex-content application/xhtml+xml

Here's how you could refer to an Atom title with xf:output/@mediatype,
as described
in http://atompub.org/rfc4287.html#text.constructs
   <xf:output ref="atom:title[@type='html'] mediatype="text/html" />

I've recently written a mail reader in XHTML+XForms, and both output and
textarea with @mediatype='text/html' would be great.
  <xf:output ref="content" mediatype="text/html" />
  <xf:textarea ref="content"

Many existing browsers already support text/html editing in forms, and a
number of JavaScript packages exist to make it easy to use.
With XForms, just declaring the mediatype would make it easy to use!
But user agents can't do this if XForms 1.1 explicitly limits mediatype
to exclude text/* mediatypes.

Received on Wednesday, 16 August 2006 18:49:26 UTC

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