| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<schema xmlns:tns="http://www.eclipse.org/mylyn/discovery/directory/" |
| 3 |
xmlns="http://www.w3.org/2001/XMLSchema" |
| 4 |
targetNamespace="http://www.eclipse.org/mylyn/discovery/directory/"> |
| 5 |
|
| 6 |
<annotation> |
| 7 |
<documentation> |
| 8 |
Describes the XML format used by a Mylyn discovery directory. |
| 9 |
</documentation> |
| 10 |
</annotation> |
| 11 |
|
| 12 |
<complexType name="OpenAttrsComplex"> |
| 13 |
<annotation> |
| 14 |
<documentation>extend this type to allow for attributes from other namespaces</documentation> |
| 15 |
</annotation> |
| 16 |
<complexContent> |
| 17 |
<restriction base="anyType"> |
| 18 |
<anyAttribute namespace="##other" processContents="lax"/> |
| 19 |
</restriction> |
| 20 |
</complexContent> |
| 21 |
</complexType> |
| 22 |
|
| 23 |
|
| 24 |
<element name="directory"> |
| 25 |
<complexType> |
| 26 |
<complexContent> |
| 27 |
<extension base="tns:OpenAttrsComplex"> |
| 28 |
<sequence> |
| 29 |
<element ref="tns:entry" minOccurs="0" maxOccurs="unbounded"/> |
| 30 |
</sequence> |
| 31 |
</extension> |
| 32 |
</complexContent> |
| 33 |
</complexType> |
| 34 |
</element> |
| 35 |
|
| 36 |
<element name="entry"> |
| 37 |
<complexType> |
| 38 |
<complexContent> |
| 39 |
<extension base="tns:OpenAttrsComplex"> |
| 40 |
<attribute name="url" type="anyURI"/> |
| 41 |
<attribute name="permitCategories" type="boolean"/> |
| 42 |
</extension> |
| 43 |
</complexContent> |
| 44 |
</complexType> |
| 45 |
</element> |
| 46 |
</schema> |