Skip to content

Commit

Permalink
Bump XML namespaces to 'stable-v1'
Browse files Browse the repository at this point in the history
This action is performed on *all* active EWP repositories as part of:
erasmus-without-paper/ewp-specs-api-iias#22
  • Loading branch information
wrygiel committed Jun 9, 2017
1 parent ce3c449 commit 9c783dc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ the structure of these objects.
Mobility workflow.

* Analyze the [structure of the Outgoing Mobility
object](https://github.com/erasmus-without-paper/ewp-specs-api-mobilities/blob/master/response.xsd).
object](https://github.com/erasmus-without-paper/ewp-specs-api-mobilities/blob/stable-v1/response.xsd).
You will need to understand its structure well and make sure your data is
compatible with it. The `.ewpmobility` file is basically a wrapper for the
Outgoing Mobility objects.
Expand All @@ -49,4 +49,4 @@ it to your partner. We also recommend using the `.ewpmobility` file extension
[echo]: https://github.com/erasmus-without-paper/ewp-specs-api-echo
[error-handling]: https://github.com/erasmus-without-paper/ewp-specs-architecture#error-handling
[institutions-api]: https://github.com/erasmus-without-paper/ewp-specs-api-institutions
[mobility-workflow]: https://github.com/erasmus-without-paper/ewp-specs-mobility-flowcharts/tree/master#common-workflow
[mobility-workflow]: https://github.com/erasmus-without-paper/ewp-specs-mobility-flowcharts#common-workflow
6 changes: 3 additions & 3 deletions example.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<root:ewp-mobility-file
xmlns="https://github.com/erasmus-without-paper/ewp-specs-api-mobilities/blob/master/endpoints/get-response.xsd"
xmlns:root="https://github.com/erasmus-without-paper/ewp-specs-fileext-ewpmobility/tree/master"
xmlns="https://github.com/erasmus-without-paper/ewp-specs-api-mobilities/blob/stable-v1/endpoints/get-response.xsd"
xmlns:root="https://github.com/erasmus-without-paper/ewp-specs-fileext-ewpmobility/tree/stable-v1"
xmlns:a="https://github.com/erasmus-without-paper/ewp-specs-types-address/tree/stable-v1"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
https://github.com/erasmus-without-paper/ewp-specs-fileext-ewpmobility/tree/master
https://github.com/erasmus-without-paper/ewp-specs-fileext-ewpmobility/tree/stable-v1
schema.xsd
"
>
Expand Down
10 changes: 5 additions & 5 deletions schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xml="http://www.w3.org/XML/1998/namespace"
xmlns:mobility="https://github.com/erasmus-without-paper/ewp-specs-api-mobilities/blob/master/endpoints/get-response.xsd"
xmlns:mobility="https://github.com/erasmus-without-paper/ewp-specs-api-mobilities/blob/stable-v1/endpoints/get-response.xsd"
elementFormDefault="qualified"

targetNamespace="https://github.com/erasmus-without-paper/ewp-specs-fileext-ewpmobility/tree/master"
xmlns="https://github.com/erasmus-without-paper/ewp-specs-fileext-ewpmobility/tree/master"
targetNamespace="https://github.com/erasmus-without-paper/ewp-specs-fileext-ewpmobility/tree/stable-v1"
xmlns="https://github.com/erasmus-without-paper/ewp-specs-fileext-ewpmobility/tree/stable-v1"
>
<!-- WRTODO: Replace all occurrences of 'master' (in all projects) with 'stable-v1' upon release. -->
<!-- WRTODO: Do not release until dependants are released: Outgoing Mobilities API -->

<xs:import
schemaLocation="../ewp-specs-api-mobilities/endpoints/get-response.xsd"
namespace="https://github.com/erasmus-without-paper/ewp-specs-api-mobilities/blob/master/endpoints/get-response.xsd"
namespace="https://github.com/erasmus-without-paper/ewp-specs-api-mobilities/blob/stable-v1/endpoints/get-response.xsd"
/>

<xs:annotation>
Expand Down

0 comments on commit 9c783dc

Please sign in to comment.