W3C home > Mailing lists > Public > public-forms@w3.org > December 2009

XForms 1.1: Why is output/mediatype text content not allowed?

From: Klotz, Leigh <Leigh.Klotz@XEROX.COM>
Date: Fri, 11 Dec 2009 08:59:51 -0800
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF409693975@USA7061MS01.na.xerox.net>
To: <public-forms@w3.org>, <www-forms-editor@w3.org>
 Here's the spec text for output/mediatype element: The mediatype Element (for output)

	Binding attributes on author-optional element mediatype specify the location in the instance of the string that indicates the desired media type rendition for the parent output. If the binding attributes are not used, the value attribute must be used instead to specify the desired media type rendition.

Why does it not allow  text content?

  <output ref="foo"><mediatype>image/*</mediatype></output>

It's hard justify this restriction because it's different from other SNB elements with value, which  do  support  inline content.  Removing this restriction would allow for more re-use of types in the schemas, and better author familiarity with our rules.  


Received on Friday, 11 December 2009 17:02:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:14:02 UTC