Mediatype attribute on upload is depricated, so it was incorrect to remove it from the schemes
authorNick Van den Bleeken <nick.van.den.bleeken@inventivegroup.com>
Wed, 10 Apr 2013 17:50:40 +0200
changeset 21 88aaa18ff8a3
parent 20 4c7c34df28c4
child 22 78a3c9f399ed
Mediatype attribute on upload is depricated, so it was incorrect to remove it from the schemes
2.0/core/schema/rng/xforms-nons-20.rnc
2.0/core/schema/xsd/XForms-20-Schema.xsd
--- a/2.0/core/schema/rng/xforms-nons-20.rnc	Wed Apr 10 09:06:46 2013 +0200
+++ b/2.0/core/schema/rng/xforms-nons-20.rnc	Wed Apr 10 17:50:40 2013 +0200
@@ -336,6 +336,7 @@
 xforms.upload.attrib =
   xforms.Common.attrib,
   xforms.Single.Node.Binding.attrib,
+  attribute mediatype { text-avt }?,
   attribute accept { text-avt }?,
   xforms.UI.Common.attrib,
   xforms.UI.interaction.attrib
--- a/2.0/core/schema/xsd/XForms-20-Schema.xsd	Wed Apr 10 09:06:46 2013 +0200
+++ b/2.0/core/schema/xsd/XForms-20-Schema.xsd	Wed Apr 10 17:50:40 2013 +0200
@@ -460,6 +460,7 @@
 			<xsd:attributeGroup ref="xforms:Common.Attributes"/>
 			<xsd:attributeGroup ref="xforms:Single.Node.Binding.Attributes"/>
 			<xsd:attributeGroup ref="xforms:UI.Common.Attrs"/>
+			<xsd:attribute name="mediatype" type="xsd:string" use="optional"/>
 			<xsd:attribute name="accept" type="xsd:string" use="optional"/>
 			<xsd:attribute name="incremental" type="xsd:boolean" use="optional" default="false"/>
 		</xsd:complexType>