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:
Alessia Bardi 2020-06-05 16:02:31 +02:00
parent fa3707a56f
commit 30410e8cca
1 changed files with 2 additions and 6 deletions

View File

@ -12,12 +12,8 @@
<SCRIPT>
<TITLE>ARIADNEplus Generator Policy version 1.4</TITLE>
<CODE>
<![CDATA[
<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">
<pattern>Collection/{term}</pattern>
</generator>
@ -123,7 +119,7 @@
</generator_policy>
]]>
</CODE>
</SCRIPT>
</CONFIGURATION>