projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add test case for bad UTF-8 ISO2709 record
[idzebra-moved-to-github.git]
/
test
/
xslt
/
dctoindex.xsl
diff --git
a/test/xslt/dctoindex.xsl
b/test/xslt/dctoindex.xsl
index
106c947
..
407397e
100644
(file)
--- a/
test/xslt/dctoindex.xsl
+++ b/
test/xslt/dctoindex.xsl
@@
-23,9
+23,7
@@
<xsl:template match="/*">
<z:record>
<xsl:template match="/*">
<z:record>
- <z:index name="any:w">
<xsl:apply-templates/>
<xsl:apply-templates/>
- </z:index>
<xsl:call-template name="special-indexes"/>
<xsl:call-template name="special-indexes"/>
@@
-38,7
+36,7
@@
</xsl:template>
<xsl:template match="/*/*[namespace-uri() = 'http://purl.org/dc/elements/1.1/']">
</xsl:template>
<xsl:template match="/*/*[namespace-uri() = 'http://purl.org/dc/elements/1.1/']">
- <z:index name="{local-name()}:w">
+ <z:index name="any:w {local-name()}:w">
<xsl:value-of select="."/>
</z:index>
</xsl:template>
<xsl:value-of select="."/>
</z:index>
</xsl:template>