Skip to content

Commit

Permalink
Trim whitespace from mdui:InformationURL to repair some eduGAIN-sourc…
Browse files Browse the repository at this point in the history
…ed metadata on the fly.
  • Loading branch information
iay committed Aug 13, 2014
1 parent ded8d07 commit adcd584
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions mdx/common-beans.xml
Original file line number Diff line number Diff line change
Expand Up @@ -736,6 +736,8 @@
***********************************************
-->

<bean id="mdui-InformationURL" parent="QName" c:_0-ref="mdui_namespace" c:_1="InformationURL"/>

<bean id="stripMDUIDiscoHints" parent="ElementStrippingStage"
p:id="stripMDUIDiscoHints"
p:elementName="DiscoHints"
Expand Down Expand Up @@ -1010,15 +1012,17 @@
trimImportElementWhitespace
Trim whitespace from the specified elements in imported
entities. These would often be errors in UK-registered
metadata.
entities. These would be errors in UK-registered metadata,
but repairing the metadata on the fly is often easier than
asking for it to be corrected at source.
-->
<bean id="trimImportElementWhitespace" parent="ElementWhitespaceTrimmingStage"
p:id="trimImportElementWhitespace">
<property name="elementNames">
<set>
<ref bean="md-NameIDFormat"/>
<ref bean="md-OrganizationDisplayName"/>
<ref bean="mdui-InformationURL"/>
</set>
</property>
</bean>
Expand All @@ -1031,7 +1035,7 @@
individual entities.
The result is a collection of entities, some of which may be labelled with
errors. No announcement of removal of those entities is performed here;
errors. No announcement or removal of those entities is performed here;
that is left to the caller.
-->
<bean id="standardImportActions" parent="CompositeStage"
Expand Down

0 comments on commit adcd584

Please sign in to comment.