diff options
| author | Andrew Branson <andrew.branson@cern.ch> | 2013-05-23 14:36:45 +0200 |
|---|---|---|
| committer | Andrew Branson <andrew.branson@cern.ch> | 2013-05-23 14:36:45 +0200 |
| commit | a36892b9788639aadda293cb27496ae00e189677 (patch) | |
| tree | af75ac00072150b8611152fc25a0a950b9cc5c7f /src/main/resources/boot/OD/Agent.xsd | |
| parent | 034cb248097b7db3aa57af3be6f91a984815ad4b (diff) | |
Agent and Item were out of line with the new module versions of NewItem
and NewAgent, and the mapfile.
Diffstat (limited to 'src/main/resources/boot/OD/Agent.xsd')
| -rw-r--r-- | src/main/resources/boot/OD/Agent.xsd | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/src/main/resources/boot/OD/Agent.xsd b/src/main/resources/boot/OD/Agent.xsd index 5b9f3f4..1f8f9ed 100644 --- a/src/main/resources/boot/OD/Agent.xsd +++ b/src/main/resources/boot/OD/Agent.xsd @@ -1,20 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?>
-<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Andrew Branson (CERN) -->
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="Agent">
- <xs:annotation>
- <xs:documentation>Complete Structure for new agent</xs:documentation>
- </xs:annotation>
<xs:complexType>
<xs:sequence>
- <xs:element name="Role" type="xs:string" maxOccurs="unbounded">
- <xs:annotation>
- <xs:documentation>The initial roles that this Agent will hold</xs:documentation>
- </xs:annotation>
- </xs:element>
+ <xs:element name="Role" type="xs:string" maxOccurs="unbounded" />
+ <xs:element name="Property" type="property" minOccurs="0"
+ maxOccurs="unbounded" />
</xs:sequence>
- <xs:attribute name="name" type="xs:string" use="required"/>
- <xs:attribute name="password" type="xs:string" use="required"/>
+ <xs:attribute name="name" type="xs:string" use="required" />
+ <xs:attribute name="password" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
+ <xs:complexType name="property">
+ <xs:simpleContent>
+ <xs:extension base="xs:string">
+ <xs:attribute name="name" type="xs:string" />
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
</xs:schema>
|
