Added target attribute to submission
authorNick Van den Bleeken <nick.van.den.bleeken@inventivegroup.com>
Tue, 20 Nov 2012 16:54:39 +0100
changeset 17 a24672768756
parent 16 210f81216aa8
child 18 79a8870aa69c
Added target attribute to submission
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	Thu May 31 10:14:36 2012 +0200
+++ b/2.0/core/schema/rng/xforms-nons-20.rnc	Tue Nov 20 16:54:39 2012 +0100
@@ -136,6 +136,7 @@
   }?
   & attribute validate { boolean-avt }?
   & attribute version { xforms.versionList }?
+  & attribute target { text-avt }?
   & attribute targetref { XPathExpression }?
   & xforms.Actions
 xforms.bind = element bind { xforms.bind.attrib, xforms.bind.content }
--- a/2.0/core/schema/xsd/XForms-20-Schema.xsd	Thu May 31 10:14:36 2012 +0200
+++ b/2.0/core/schema/xsd/XForms-20-Schema.xsd	Tue Nov 20 16:54:39 2012 +0100
@@ -997,10 +997,11 @@
 				</xsd:simpleType>
 			</xsd:attribute>
 			
+			<xsd:attribute name="target" type="xsd:string" use="optional"/>
+			
 			<!-- Default is not specified because the defalut is to replace the whole instance indicated 
 			     by the instance attribute -->
 			<xsd:attribute name="targetref" type="xforms:XPathExpression" use="optional"/>
-			<xsd:attribute name="target" type="xforms:XPathExpression" use="optional"/>
 			
 			<!-- Default not specified because omitting the attribute behaves differently than
 			     including it with any value -->