Omit CVS Id. Update copyright year.
[idzebra-moved-to-github.git] / etc / gfs-config.rnc
1 # $Id: gfs-config.rnc,v 1.1 2006-02-16 10:43:15 mike Exp $
2
3 namespace explain = "http://explain.z3950.org/dtd/2.0/"
4 namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
5
6 yazgfs = element yazgfs { attlist.yazgfs, listen*, server+ }
7 attlist.yazgfs &= empty
8 listen = element listen { attlist.listen, text }
9 attlist.listen &= attribute id { text }?
10 server =
11   element server {
12     attlist.server, host?, directory?, config?, cql2rpn?, explain?
13   }
14 attlist.server &=
15   attribute id { text }?,
16   attribute listenref { text }?
17 host = element host { attlist.host, text }
18 attlist.host &= empty
19 directory = element directory { attlist.directory, text }
20 attlist.directory &= empty
21 config = element config { attlist.config, text }
22 attlist.config &= empty
23 cql2rpn = element cql2rpn { attlist.cql2rpn, text }
24 attlist.cql2rpn &= empty
25 # It's a shame that we have to include a partial ZeeRex DTD here
26 explain = element explain:explain { attlist.explain, serverInfo? }
27 attlist.explain &=
28   [ a:defaultValue = "false" ]
29   attribute authoritative { "true" | "false" }?,
30   attribute id { text }?
31 serverInfo =
32   element explain:serverInfo { attlist.serverInfo, explainHost, port, database }
33 attlist.serverInfo &= empty
34 explainHost = element explain:host { attlist.explainHost, text }
35 attlist.explainHost &= empty
36 port = element explain:port { attlist.port, text }
37 attlist.port &= empty
38 database = element explain:database { attlist.database, text }
39 attlist.database &= empty
40 start = yazgfs