ACTION-1934: Accidently changed the mediatype child element instead of the mediatype attribute of upload element to accept in previous commit, this is now fixed.
authorNick Van den Bleeken <nick.van.den.bleeken@inventivegroup.com>
Wed, 10 Apr 2013 09:06:46 +0200
changeset 20 4c7c34df28c4
parent 19 394d8b91bd3c
child 21 88aaa18ff8a3
ACTION-1934: Accidently changed the mediatype child element instead of the mediatype attribute of upload element to accept in previous commit, this is now fixed.
2.0/core/schema/xsd/XForms-20-Schema.xsd
--- a/2.0/core/schema/xsd/XForms-20-Schema.xsd	Wed Mar 13 14:13:53 2013 +0100
+++ b/2.0/core/schema/xsd/XForms-20-Schema.xsd	Wed Apr 10 09:06:46 2013 +0200
@@ -454,13 +454,13 @@
 				<xsd:element ref="xforms:mediatype" minOccurs="0"/>
 				-->
 				<xsd:element name="filename" type="xforms:filename" minOccurs="0"/>
-				<xsd:element name="accept" type="xforms:mediatype" minOccurs="0"/>
+				<xsd:element name="mediatype" type="xforms:mediatype" minOccurs="0"/>
 				<xsd:group ref="xforms:UI.Common" minOccurs="0" maxOccurs="unbounded"/>
 			</xsd:sequence>
 			<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>
 	</xsd:element>