aboutsummaryrefslogtreecommitdiff
path: root/scripts/left-right-schema.rnc
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-12-12 13:34:15 +0000
committerRob Austein <sra@hactrn.net>2007-12-12 13:34:15 +0000
commitfd1d362e25e605ede037777a7b3b19d71e8c0694 (patch)
tree5ba03f0ffcd0ebea83195c43521ec66aa2dd83e7 /scripts/left-right-schema.rnc
parent96d01704143894bf2eb860353537c73297b9f6c2 (diff)
Add tag attribute per suggestion from RobK
svn path=/docs/left-right-xml; revision=1372
Diffstat (limited to 'scripts/left-right-schema.rnc')
-rw-r--r--scripts/left-right-schema.rnc23
1 files changed, 13 insertions, 10 deletions
diff --git a/scripts/left-right-schema.rnc b/scripts/left-right-schema.rnc
index 903c2995..068634c7 100644
--- a/scripts/left-right-schema.rnc
+++ b/scripts/left-right-schema.rnc
@@ -15,19 +15,22 @@ start = element msg {
list_resources_elt | report_error_elt )*
}
+# Tag attributes for bulk operations
+tag = attribute tag { xsd:token {maxLength="1024" } }?
+
# Combinations of action and type attributes used in later definitions.
# The same patterns repeat in most of the elements in this protocol.
-ctl_cq = attribute action { "create" }, attribute type { "query" }
-ctl_sq = attribute action { "set" }, attribute type { "query" }
-ctl_gq = attribute action { "get" }, attribute type { "query" }
-ctl_lq = attribute action { "list" }, attribute type { "query" }
-ctl_dq = attribute action { "destroy" }, attribute type { "query" }
-ctl_cr = attribute action { "create" }, attribute type { "reply" }
-ctl_sr = attribute action { "set" }, attribute type { "reply" }
-ctl_gr = attribute action { "get" }, attribute type { "reply" }
-ctl_lr = attribute action { "list" }, attribute type { "reply" }
-ctl_dr = attribute action { "destroy" }, attribute type { "reply" }
+ctl_cq = attribute action { "create" }, attribute type { "query" }, tag
+ctl_sq = attribute action { "set" }, attribute type { "query" }, tag
+ctl_gq = attribute action { "get" }, attribute type { "query" }, tag
+ctl_lq = attribute action { "list" }, attribute type { "query" }, tag
+ctl_dq = attribute action { "destroy" }, attribute type { "query" }, tag
+ctl_cr = attribute action { "create" }, attribute type { "reply" }, tag
+ctl_sr = attribute action { "set" }, attribute type { "reply" }, tag
+ctl_gr = attribute action { "get" }, attribute type { "reply" }, tag
+ctl_lr = attribute action { "list" }, attribute type { "reply" }, tag
+ctl_dr = attribute action { "destroy" }, attribute type { "reply" }, tag
# Base64 encoded DER stuff
base64 = xsd:base64Binary { maxLength="512000" }