Changed name of mediatype attribute to accept for upload element
authorNick Van den Bleeken <nick.van.den.bleeken@inventivegroup.com>
Wed, 13 Mar 2013 14:10:43 +0100
changeset 18 79a8870aa69c
parent 17 a24672768756
child 19 394d8b91bd3c
Changed name of mediatype attribute to accept for upload element
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	Tue Nov 20 16:54:39 2012 +0100
+++ b/2.0/core/schema/rng/xforms-nons-20.rnc	Wed Mar 13 14:10:43 2013 +0100
@@ -336,7 +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
 xforms.upload.content =
--- a/2.0/core/schema/xsd/XForms-20-Schema.xsd	Tue Nov 20 16:54:39 2012 +0100
+++ b/2.0/core/schema/xsd/XForms-20-Schema.xsd	Wed Mar 13 14:10:43 2013 +0100
@@ -454,7 +454,7 @@
 				<xsd:element ref="xforms:mediatype" minOccurs="0"/>
 				-->
 				<xsd:element name="filename" type="xforms:filename" minOccurs="0"/>
-				<xsd:element name="mediatype" type="xforms:mediatype" minOccurs="0"/>
+				<xsd:element name="accept" type="xforms:mediatype" minOccurs="0"/>
 				<xsd:group ref="xforms:UI.Common" minOccurs="0" maxOccurs="unbounded"/>
 			</xsd:sequence>
 			<xsd:attributeGroup ref="xforms:Common.Attributes"/>