New, simple regression test for cf.xsl
authorMike Taylor <mike@indexdata.com>
Tue, 7 Feb 2012 10:55:32 +0000 (10:55 +0000)
committerMike Taylor <mike@indexdata.com>
Tue, 7 Feb 2012 10:55:32 +0000 (10:55 +0000)
test/xslt/.gitignore [new file with mode: 0644]
test/xslt/sample-cf-record.xml [new file with mode: 0644]

diff --git a/test/xslt/.gitignore b/test/xslt/.gitignore
new file mode 100644 (file)
index 0000000..1689b19
--- /dev/null
@@ -0,0 +1 @@
+cf-output.REGRESSION
diff --git a/test/xslt/sample-cf-record.xml b/test/xslt/sample-cf-record.xml
new file mode 100644 (file)
index 0000000..9356542
--- /dev/null
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<record>
+  <url>http://817748.cfproxy.indexdata.com/www.jstor.org/stable/3436096?&amp;Search=yes&amp;searchText=fish&amp;list=hide&amp;searchUri=%2Faction%2FdoBasicSearch%3FQuery%3Dfish%26acc%3Doff%26wc%3Don&amp;prevSearch=&amp;item=1&amp;ttl=337590&amp;returnArticleService=showFullText</url>
+  <title>Fish Consumption and Advisory Awareness in the Great Lakes Basin</title>
+  <author>Pamela Imm</author>
+  <author>Lynda Knobeloch</author>
+  <author>Henry A. Anderson</author>
+  <author>The Great Lakes Sport Fish Consortium</author>
+  <journaltitle>Environmental Health Perspectives </journaltitle>
+  <permalink>http://www.jstor.org/stable/3436096?&amp;Search=yes&amp;searchText=fish&amp;list=hide&amp;searchUri=%2Faction%2FdoBasicSearch%3FQuery%3Dfish%26acc%3Doff%26wc%3Don&amp;prevSearch=&amp;item=1&amp;ttl=337590&amp;returnArticleService=showFullText</permalink>
+  <date>2005-10</date>
+  <volume>113</volume>
+  <issue>10</issue>
+  <page>1325</page>
+  <endpage>1329</endpage>
+  <languageitem>en</languageitem>
+  <languageabstract>fr</languageabstract>
+  <format>text/pdf</format>
+  <extent>pp. 456-472</extent>
+  <doctype>research report</doctype>
+  <pubtype>journal article</pubtype>
+  <copyright>Elsevier, of course</copyright>
+  <copyrightabstract>public domain</copyrightabstract>
+  <booktitle>Adventure of Gladys Stoatpamphlet</booktitle>
+  <relevance>4.375</relevance>
+  <citation>Taylor et al. 2011b</citation>
+  <available>2012-03-12</available>
+  <id>504468</id>
+  <score>1279</score>
+  <thumburl>http://www.miketaylor.org.uk/dino/xeno/images/thumb/DINO_4.jpeg</thumburl>
+  <due>2012-04-12</due>
+  <issn>1234-5678</issn>
+  <isbn>0891345655</isbn>
+  <subject>dinosaurs, palaeontology</subject>
+  <publisher>Reed Elsevier, plc.</publisher>
+  <description>A big book</description>
+</record>