1251881Speter# Licensed to the Apache Software Foundation (ASF) under one
2251881Speter# or more contributor license agreements.  See the NOTICE file
3251881Speter# distributed with this work for additional information
4251881Speter# regarding copyright ownership.  The ASF licenses this file
5251881Speter# to you under the Apache License, Version 2.0 (the
6251881Speter# "License"); you may not use this file except in compliance
7251881Speter# with the License.  You may obtain a copy of the License at
8251881Speter#
9251881Speter#   http://www.apache.org/licenses/LICENSE-2.0
10251881Speter#
11251881Speter# Unless required by applicable law or agreed to in writing,
12251881Speter# software distributed under the License is distributed on an
13251881Speter# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14251881Speter# KIND, either express or implied.  See the License for the
15251881Speter# specific language governing permissions and limitations
16251881Speter# under the License.
17251881Speter#
18251881Speter#
19251881Speter# XML RELAX NG schema for Subversion command-line client output
20251881Speter# For "svn list"
21251881Speter
22251881Speterinclude "common.rnc"
23251881Speter
24251881Speterstart = lists
25251881Speter
26251881Speterlists = element lists { \list+ }
27251881Speter
28251881Speter## A target to the list command.
29251881Speter\list = element list { attlist.list, entry* }
30251881Speterattlist.list &=
31251881Speter  ## Local path or repository URL.
32251881Speter  attribute path { target.type }
33251881Speter
34251881Speter## A directory entry.
35251881Speterentry = element entry { attlist.entry, name, size?, commit, lock? }
36251881Speterattlist.entry &=
37251881Speter  ## The kind of the entry.
38251881Speter  attribute kind { "dir" | "file" }
39251881Speter
40251881Speter## Name of the file or directory.
41251881Spetername = element name { string }
42251881Speter
43251881Speter## File size in bytes.
44251881Spetersize = element size { xsd:nonNegativeInteger }
45251881Speter
46