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.
--- 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>