W3C home > Mailing lists > Public > public-forms@w3.org > July 2008

XForms 1.1: xforms:submission/@mediatype issue

From: Erik Bruchez <ebruchez@orbeon.com>
Date: Wed, 9 Jul 2008 15:03:13 -0700
Message-Id: <CB96746E-E955-4CC2-8CB5-8357D01D7E1B@orbeon.com>
To: "public-forms (new)" <public-forms@w3.org>


I notice that the definition of the @mediatype attribute talks about  
*XML serialization* only. I suppose that the current working is not  
intentional. It seems to me that this restriction is undesirable and  
that this attribute should work with other serializations.

The clear rationale is that @method implies a default serialization;  
@serialization implies a default mediatype; and @mediatype can be used  
to override that. It does not seem that this should be restricted to  
XML serializations.

Practically, in our implementation, we have something like:

   final String actualRequestMediatype = (mediatypeAttribute ==  
null) ? defaultMediatypeForSerialization : mediatypeAttribute;


Orbeon Forms - Web Forms for the Enterprise Done the Right Way
Received on Wednesday, 9 July 2008 22:04:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:57 UTC