RNC schema change: deprecate @nodeset and add in @ref on bind, header

This patch,

# HG changeset patch
# User klotz
# Date 1334963820 25200
# Node ID a6187dcf790f7df5de6c5ac846e9a3d347e4169f
# Parent  1f1c49a50c09f03a81f8f49159027361ad6521da
deprecate @nodeset on bind and header, and add in @ref

diff -r 1f1c49a50c09 -r a6187dcf790f 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 }?,

Received on Friday, 20 April 2012 23:20:38 UTC