Skip to content

Commit

Permalink
Refactoring: mobility -> omobility
Browse files Browse the repository at this point in the history
This is needed to avoid naming clashes with the newly introduced
Incoming Mobility entities:

erasmus-without-paper/ewp-specs-api-omobilities#27
  • Loading branch information
wrygiel committed Sep 7, 2017
1 parent 5ef80a1 commit b07bb77
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 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/stable-v1/response.xsd).
object](https://github.com/erasmus-without-paper/ewp-specs-api-omobilities/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 Down
4 changes: 2 additions & 2 deletions example.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<root:ewp-mobility-file
xmlns="https://github.com/erasmus-without-paper/ewp-specs-api-mobilities/blob/stable-v1/endpoints/get-response.xsd"
xmlns="https://github.com/erasmus-without-paper/ewp-specs-api-omobilities/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"
Expand All @@ -14,7 +14,7 @@
This is a very simplified mobility. For a better example, see Outgoing
Mobilities API.
-->
<mobility-id>c442c289-5541-4cae-9edb-8ad83e133613</mobility-id>
<omobility-id>c442c289-5541-4cae-9edb-8ad83e133613</omobility-id>
<sending-hei>
<hei-id>uio.no</hei-id>
</sending-hei>
Expand Down
6 changes: 3 additions & 3 deletions schema.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<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/stable-v1/endpoints/get-response.xsd"
xmlns:mobility="https://github.com/erasmus-without-paper/ewp-specs-api-omobilities/blob/stable-v1/endpoints/get-response.xsd"
elementFormDefault="qualified"

targetNamespace="https://github.com/erasmus-without-paper/ewp-specs-fileext-ewpmobility/tree/stable-v1"
Expand All @@ -12,8 +12,8 @@
<!-- WRTODO: Once released, fix all schemaLocations pointing to its master branch. -->

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

<xs:annotation>
Expand Down

0 comments on commit b07bb77

Please sign in to comment.