projects
/
yazproxy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a3e218c
)
Fix schema. Thanks to Douglas Campbell. Config files now validate
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 2 Jul 2004 12:37:03 +0000
(12:37 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 2 Jul 2004 12:37:03 +0000
(12:37 +0000)
with Xerces-C++.
etc/yazproxy.xsd
patch
|
blob
|
history
diff --git
a/etc/yazproxy.xsd
b/etc/yazproxy.xsd
index
1548540
..
07464ef
100644
(file)
--- a/
etc/yazproxy.xsd
+++ b/
etc/yazproxy.xsd
@@
-1,6
+1,6
@@
<?xml version="1.0"?>
<!-- XML Schema for YAZ proxy config file.
<?xml version="1.0"?>
<!-- XML Schema for YAZ proxy config file.
- $Id: yazproxy.xsd,v 1.1 2004-04-19 13:42:52 adam Exp $
+ $Id: yazproxy.xsd,v 1.2 2004-07-02 12:37:03 adam Exp $
-->
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
-->
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
@@
-31,7
+31,7
@@
<xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="syntax" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="preinit" minOccurs="0"/>
<xs:element ref="attribute" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="syntax" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="preinit" minOccurs="0"/>
- <xs:element name="exp:explain" minOccurs="0"/>
+ <xs:element ref="exp:explain" minOccurs="0"/>
<xs:element ref="cql2rpn" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="default" type="xs:string" use="optional"/>
<xs:element ref="cql2rpn" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="default" type="xs:string" use="optional"/>
@@
-77,18
+77,20
@@
<xs:element name="syntax">
<xs:complexType>
<xs:sequence>
<xs:element name="syntax">
<xs:complexType>
<xs:sequence>
- <xs:element name="title" type="xs:string" minOccurs="0"/>
- <xs:element name="name" type="xs:string" minOccurs="0"
- maxOccurs="unbounded"/>
+ <xs:element ref="title" minOccurs="0"/>
+ <xs:element ref="name" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:sequence>
- <xs:attribute name="error" type="xs:string" minOccurs="0"/>
- <xs:attribute name="type" type="xs:string" minOccurs="0"/>
- <xs:attribute name="marcxml" type="xs:string" minOccurs="0"/>
- <xs:attribute name="identifier" type="xs:string" minOccurs="0"/>
- <xs:attribute name="stylesheet" type="xs:string" minOccurs="0"/>
+ <xs:attribute name="error" type="xs:string" />
+ <xs:attribute name="type" type="xs:string" />
+ <xs:attribute name="marcxml" type="xs:string" />
+ <xs:attribute name="identifier" type="xs:string" />
+ <xs:attribute name="stylesheet" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:complexType>
</xs:element>
+ <xs:element name="title" type="xs:string"/>
+ <xs:element name="name" type="xs:string"/>
+
<xs:element name="max-clients" type="xs:integer"/>
<xs:element name="log" type="xs:string"/>
<xs:element name="max-clients" type="xs:integer"/>
<xs:element name="log" type="xs:string"/>