Marcel de Rooy
93ba8d0b70
Test plan: Verify if XSLT_Handler.t passes. You could also sabotage the test by removing one of the test xsl files. Or you could 'repair' the bad xsl file (test02). Remove the second line redefining the xsl variable. In all those cases the unit test should fail now.. Discard your changes :) Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Test pass. No koha-qa errors. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
13 lines
491 B
XML
13 lines
491 B
XML
<!-- This is BAD coded xslt stylesheet to test XSLT_Handler -->
|
|
<xsl:stylesheet version="1.0"
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
xmlns:marc="http://www.loc.gov/MARC21/slim"
|
|
>
|
|
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
|
|
|
|
<xsl:variable name="redefine" select="0"/>
|
|
<xsl:variable name="redefine" select="1"/>
|
|
<!-- Intentional redefine to generate parsing error -->
|
|
<xsl:template match="record">
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|