Skip to content

Commit

Permalink
Strip schemaLocations from MDQ test output
Browse files Browse the repository at this point in the history
See ukf/ukf-meta#127.
  • Loading branch information
iay committed Oct 24, 2017
1 parent 4a9c79a commit 60393a7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mdx/common-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,14 @@
<bean id="stripUkfedlabelNamespace" parent="mda.NamespaceStrippingStage"
p:namespace-ref="ukfedlabel_namespace"/>

<!--
stripXsiNamespace
Strip the XML Schema Instance namespace.
-->
<bean id="stripXsiNamespace" parent="mda.NamespaceStrippingStage"
p:namespace-ref="xsi_namespace"/>

<!--
normaliseNamespaces
Expand Down
9 changes: 9 additions & 0 deletions mdx/uk/mdq-multisign.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@
<!-- Remove UKFederationLabel elements. -->
<ref bean="uk_strip_UKFederationMember"/>

<!--
Remove xsi elements and attributes.
In practice, this just cleans up the results we get in
a development environment, as the normal UKf aggregate
already excludes this namespace.
-->
<ref bean="stripXsiNamespace"/>

<!-- Break down into individual entities. -->
<ref bean="disassemble"/>

Expand Down

0 comments on commit 60393a7

Please sign in to comment.