deprecate @nodeset on bind and header, and add in @ref
authorklotz
Fri, 20 Apr 2012 16:17:00 -0700
changeset 8 a6187dcf790f
parent 7 1f1c49a50c09
child 9 625847082e48
deprecate @nodeset on bind and header, and add in @ref
2.0/core/schema/rng/xforms-nons-20.rnc
--- a/2.0/core/schema/rng/xforms-nons-20.rnc	Thu Apr 19 11:02:54 2012 -0700
+++ b/2.0/core/schema/rng/xforms-nons-20.rnc	Fri Apr 20 16:17:00 2012 -0700
@@ -100,6 +100,7 @@
       (xforms.submission.action.attr? & xforms.submission.resource.attr? & xforms.submission.resource.element))
    & element header {
      attribute nodeset { XPathExpression }?
+     & attribute ref { XPathExpression }?, # nodeset is deprecated; use ref
      & attribute combine { "combine" | "append" | "prepend" | "replace" | expr-avt.datatype }?
      & (attribute name { expr-avt.datatype } | element name { xforms.ValueTemplate })
      & (attribute value { expr-avt.datatype } | element value { xforms.ValueTemplate }+)
@@ -141,6 +142,7 @@
 xforms.bind.attrib =
   xforms.Common.attrib,
   attribute nodeset { XPathExpression }?,
+  attribute ref { XPathExpression }?, # nodeset is deprecated; use ref
   attribute calculate { XPathExpression }?,
   attribute type { xsd:QName }?,
   attribute required { XPathExpression }?,