Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Simplify fixup system now that only one remains.
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Dec 10, 2015
1 parent 2583de1 commit ec0c9b5
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions mdx/uk/generate.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,23 +111,6 @@
</property>
</bean>

<!--
performOtherFixups
Perform all fixup actions which are required for *every* output document.
Fixup actions which are only required in specific output pipelines need to
appear there individually.
-->
<bean id="performOtherFixups" parent="CompositeStage"
p:id="performOtherFixups">
<property name="composedStages">
<list>
<ref bean="fixup_keyuse"/>
</list>
</property>
</bean>

<!--
check_fixup_keyuse
-->
Expand Down Expand Up @@ -155,7 +138,6 @@
<ref bean="checkSchemas"/>
<ref bean="check_aggregate"/>
<ref bean="check_filtered"/>
<ref bean="check_fixup_keyuse"/>
<ref bean="check_namespaces"/>
</list>
</property>
Expand Down Expand Up @@ -298,11 +280,12 @@

<ref bean="uk_assemble"/>
<ref bean="stripWayfNamespace"/>
<ref bean="performOtherFixups"/>
<ref bean="fixup_keyuse"/>
<ref bean="uk_finaliseProduction"/>
<ref bean="uk_normaliseNamespaces"/>

<!-- production aggregate MUST pass publishability test -->
<ref bean="check_fixup_keyuse"/>
<ref bean="checkPublishable"/>
<ref bean="errorTerminatingFilter"/>

Expand Down Expand Up @@ -364,11 +347,12 @@
<ref bean="stripEmptyExtensions"/>

<ref bean="stripMdattrNamespace"/>
<ref bean="performOtherFixups"/>
<ref bean="fixup_keyuse"/>
<ref bean="uk_finaliseProduction"/>
<ref bean="uk_normaliseNamespaces"/>

<!-- WAYF aggregate MUST pass publishability test -->
<ref bean="check_fixup_keyuse"/>
<ref bean="checkPublishable"/>
<ref bean="errorTerminatingFilter"/>

Expand Down Expand Up @@ -552,12 +536,13 @@

<ref bean="uk_assemble"/>
<ref bean="stripWayfNamespace"/>
<ref bean="performOtherFixups"/>
<ref bean="fixup_keyuse"/>
<ref bean="stripEmptyExtensions"/>
<ref bean="uk_finaliseFallback"/>
<ref bean="uk_normaliseFallback"/>

<!-- fallback aggregate MUST pass publishability test -->
<ref bean="check_fixup_keyuse"/>
<ref bean="checkPublishable"/>
<ref bean="errorTerminatingFilter"/>

Expand Down Expand Up @@ -614,11 +599,12 @@

<ref bean="uk_assemble"/>
<ref bean="stripWayfNamespace"/>
<ref bean="performOtherFixups"/>
<ref bean="fixup_keyuse"/>
<ref bean="uk_finaliseTest"/>
<ref bean="uk_normaliseTest"/>

<!-- test aggregate MUST pass publishability test -->
<ref bean="check_fixup_keyuse"/>
<ref bean="checkPublishable"/>
<ref bean="errorTerminatingFilter"/>

Expand Down

0 comments on commit ec0c9b5

Please sign in to comment.