W3C home > Mailing lists > Public > public-xformsusers@w3.org > September 2016

upload@mediatype and filename

From: Steven Pemberton <steven.pemberton@cwi.nl>
Date: Wed, 28 Sep 2016 13:35:02 +0200
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Message-ID: <op.yohzsocqsmjzpq@steven-aspire-s7>
In 8.1  
https://www.w3.org/community/xformsusers/wiki/XForms_2.0#The_XForms_Core_Form_Controls_Module

For <upload> it says @mediatype (xs:string) [deprecated].

Since the addition of AVTs surely this should be de-deprecated:

<upload ref="mail/attachment"
         accept="video/*,image/*,.txt,.pdf"
         label="Select attachment:"
         mediatype="{@mediatype}">
   <filename ref="@filename"/>
</upload>


It looks like filename should be an optional attribute as well.

Steven
Received on Wednesday, 28 September 2016 11:35:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:46 UTC