1 # $Id: gfs-config.rnc,v 1.1 2006-02-16 10:43:15 mike Exp $
3 namespace explain = "http://explain.z3950.org/dtd/2.0/"
4 namespace a = "http://relaxng.org/ns/compatibility/annotations/1.0"
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 }?
12 attlist.server, host?, directory?, config?, cql2rpn?, explain?
15 attribute id { text }?,
16 attribute listenref { text }?
17 host = element host { attlist.host, text }
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? }
28 [ a:defaultValue = "false" ]
29 attribute authoritative { "true" | "false" }?,
30 attribute id { text }?
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 }
38 database = element explain:database { attlist.database, text }
39 attlist.database &= empty