need to enclose policy in CDATA, otherwise we get an error from the X3ML engine 'only whitespace content allowed before start tag and not C'
This commit is contained in:
parent
fa3707a56f
commit
30410e8cca
|
@ -12,12 +12,8 @@
|
||||||
<SCRIPT>
|
<SCRIPT>
|
||||||
<TITLE>ARIADNEplus Generator Policy version 1.4</TITLE>
|
<TITLE>ARIADNEplus Generator Policy version 1.4</TITLE>
|
||||||
<CODE>
|
<CODE>
|
||||||
|
<![CDATA[
|
||||||
<generator_policy>
|
<generator_policy>
|
||||||
<!-- ARIADNEplus Generator Policy version 1.4 -->
|
|
||||||
|
|
||||||
<!-- The prefix is a namespace that must be declared in the X3ML definition.
|
|
||||||
in the x3ml define <namespace prefix="ariadneplus" uri="https://ariadne-infrastructure.eu/aocat/"/> -->
|
|
||||||
|
|
||||||
<generator name="CollectionURI" prefix="ariadneplus" shorten="yes">
|
<generator name="CollectionURI" prefix="ariadneplus" shorten="yes">
|
||||||
<pattern>Collection/{term}</pattern>
|
<pattern>Collection/{term}</pattern>
|
||||||
</generator>
|
</generator>
|
||||||
|
@ -123,7 +119,7 @@
|
||||||
|
|
||||||
|
|
||||||
</generator_policy>
|
</generator_policy>
|
||||||
|
]]>
|
||||||
</CODE>
|
</CODE>
|
||||||
</SCRIPT>
|
</SCRIPT>
|
||||||
</CONFIGURATION>
|
</CONFIGURATION>
|
||||||
|
|
Loading…
Reference in New Issue