-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a schema for the SDSS/UKf WAYF namespace.
This won't actually detect issues in most cases, because the HideFromWAYF element normally appears in locations with "lax" schema validation such as md:Extensions. However, we can use a concrete schema to help XML-aware editors.
- Loading branch information
Showing
3 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <schema xmlns="http://www.w3.org/2001/XMLSchema" | ||
| xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF" | ||
| targetNamespace="http://sdss.ac.uk/2006/06/WAYF" | ||
| version="2015-04-16" | ||
| elementFormDefault="qualified"> | ||
|
|
||
| <annotation> | ||
| <documentation> | ||
| This schema describes the WAYF namespace, used internally by the | ||
| UK federation for the "HideFromWAYF" label. | ||
|
|
||
| For additional information, see the Federation Technical Specification. | ||
| </documentation> | ||
| </annotation> | ||
|
|
||
| <complexType name="basicLabel"> | ||
| <annotation> | ||
| <documentation> | ||
| Basic labels are empty elements whose presence or absence | ||
| is all that is important. | ||
| </documentation> | ||
| </annotation> | ||
| <!-- | ||
| No content elements are defined, so a basicLabel may contain | ||
| neither text nor nested elements. | ||
| --> | ||
| </complexType> | ||
|
|
||
| <element name="HideFromWAYF" type="wayf:basicLabel"> | ||
| <annotation> | ||
| <documentation> | ||
| Indicates an entity which should be hidden from the | ||
| Central Discovery Service. | ||
| </documentation> | ||
| </annotation> | ||
| </element> | ||
|
|
||
| </schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <schema xmlns="http://www.w3.org/2001/XMLSchema" | ||
| xmlns:wayf="http://sdss.ac.uk/2006/06/WAYF" | ||
| targetNamespace="http://sdss.ac.uk/2006/06/WAYF" | ||
| version="2015-04-16" | ||
| elementFormDefault="qualified"> | ||
|
|
||
| <annotation> | ||
| <documentation> | ||
| This schema describes the WAYF namespace, used internally by the | ||
| UK federation for the "HideFromWAYF" label. | ||
|
|
||
| For additional information, see the Federation Technical Specification. | ||
| </documentation> | ||
| </annotation> | ||
|
|
||
| <complexType name="basicLabel"> | ||
| <annotation> | ||
| <documentation> | ||
| Basic labels are empty elements whose presence or absence | ||
| is all that is important. | ||
| </documentation> | ||
| </annotation> | ||
| <!-- | ||
| No content elements are defined, so a basicLabel may contain | ||
| neither text nor nested elements. | ||
| --> | ||
| </complexType> | ||
|
|
||
| <element name="HideFromWAYF" type="wayf:basicLabel"> | ||
| <annotation> | ||
| <documentation> | ||
| Indicates an entity which should be hidden from the | ||
| Central Discovery Service. | ||
| </documentation> | ||
| </annotation> | ||
| </element> | ||
|
|
||
| </schema> |