source: TI12-security/trunk/EsgYadisParser/src/org/earthsystemgrid/security/yadis/xrds.xsd @ 7293

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/EsgYadisParser/src/org/earthsystemgrid/security/yadis/xrds.xsd@7293
Revision 7293, 1.2 KB checked in by pjkersha, 10 years ago (diff)

Incomplete - task 12: ESG Yadis identity service discovery

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xrds="xri://$xrds" targetNamespace="xri://$xrds" elementFormDefault="qualified">
3        <!-- Utility patterns -->
4        <xs:attributeGroup name="otherattribute">
5                <xs:anyAttribute namespace="##other" processContents="lax"/>
6        </xs:attributeGroup>
7        <xs:group name="otherelement">
8                <xs:choice>
9                        <xs:any namespace="##other" processContents="lax"/>
10                        <xs:any namespace="##local" processContents="lax"/>
11                </xs:choice>
12        </xs:group>
13        <!-- Patterns for elements -->
14        <xs:element name="XRDS">
15                <xs:complexType>
16                        <xs:sequence>
17                                <xs:group ref="xrds:otherelement" minOccurs="0" maxOccurs="unbounded"/>
18                        </xs:sequence>
19                        <xs:attributeGroup ref="xrds:otherattribute"/>
20                        <!--XML Schema does not currently offer a means to express that only one of the following two attributes may be used in any XRDS element, i.e., an XRDS document may describe EITHER a redirect identifier or a ref identifier but not both.-->
21                        <xs:attribute name="redirect" type="xs:anyURI" use="optional"/>
22                        <xs:attribute name="ref" type="xs:anyURI" use="optional"/>
23                </xs:complexType>
24        </xs:element>
25</xs:schema>
Note: See TracBrowser for help on using the repository browser.