-
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.
Rationalise schema files referred to by fragment files to all be pres…
…ent - and only present - in the xml directory. Change references in all schema files. Delete duplicate schema files in entities directory.
- Loading branch information
Showing
2 changed files
with
46 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,20 @@ | ||
| #!/usr/bin/perl -w | ||
|
|
||
| # | ||
| # Apply a given one-off change to the input fragment file. | ||
| # | ||
|
|
||
| while (<>) { | ||
|
|
||
| s {(\s)(?=shibboleth-metadata-1\.0\.xsd)} {$1..\/xml\/}; | ||
| s {(\s)(?=sstc-saml-schema-assertion-2\.0\.xsd)} {$1..\/xml\/}; | ||
| s {(\s)(?=sstc-saml-schema-metadata-2\.0\.xsd)} {$1..\/xml\/}; | ||
| s {(\s)(?=uk-fed-label\.xsd)} {$1..\/xml\/}; | ||
| s {(\s)(?=xenc-schema\.xsd)} {$1..\/xml\/}; | ||
| s {(\s)(?=xml\.xsd)} {$1..\/xml\/}; | ||
| s {(\s)(?=xmldsig-core-schema\.xsd)} {$1..\/xml\/}; | ||
|
|
||
| print $_; | ||
| } | ||
|
|
||
| # end |