1 # XML RELAX NG schema for Subversion command-line client output
4 # The DTD compatibility annotations namespace, used for adding default
6 namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
12 status = element status { (target | changelist)* }
14 target = element target { attlist.target, entry*, against? }
17 attribute path { string }
19 target = element changelist { attlist.changelist, entry*, against? }
21 ## The changelist name.
22 attribute name { string }
24 ## Status information for a path under the target.
25 entry = element entry { attlist.entry, wc-status, repos-status? }
27 ## Path inside the target.
28 attribute path { text }
30 ## Status of the entry in the working copy.
31 wc-status = element wc-status { attlist.wc-status, commit?, lock? }
36 "added" | "conflicted" | "deleted" | "ignored" | "modified" | "replaced"
37 | "external" | "unversioned" | "incomplete" | "obstructed" | "normal"
41 attribute props { "conflicted" | "modified" | "normal" | "none" },
42 ## Base revision number.
43 attribute revision { revnum.type }?,
44 ## WC directory locked.
45 [ a:defaultValue = "false" ]
46 attribute wc-locked { "true" | "false" }?,
48 [ a:defaultValue = "false" ]
49 attribute copied { "true" | "false" }?,
50 # Item switched relative to its parent.
51 [ a:defaultValue = "false" ]
52 attribute switched { "true" | "false" }?
54 ## Status in repository (if --update was specified).
55 repos-status = element repos-status { attlist.repos-status, lock? }
56 attlist.repos-status &=
57 ## Text/item status in the repository.
59 "added" | "deleted" | "modified" | "replaced" | "none"
61 ## Properties status in repository.
62 attribute props { "modified" | "none" }
64 against = element against { attlist.against, empty }
66 ## Revision number at which the repository information was obtained.
67 attribute revision { revnum.type }