Make test_url.sh test for two-level metadata structure
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 3 Feb 2014 14:03:34 +0000 (15:03 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 3 Feb 2014 14:03:34 +0000 (15:03 +0100)
test/test_url.cfg
test/test_url_19.res

index 881ee65..6b36213 100644 (file)
       <metadata name="isbn"/>
       <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
                 termlist="yes"/>
-      <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional" />
-      <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
-      <metadata name="id"/>
-      <metadata name="lccn" merge="unique"/>
+      <metadata>
+         <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional" />
+         <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
+         <metadata name="id"/>
+         <metadata name="lccn" merge="unique"/>
+      </metadata>
       <metadata name="description" brief="yes" merge="longest" rank="3"/>
     </service>
     
index b4efe0d..87ef48d 100644 (file)
       <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
       <metadata name="isbn"/>
       <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range" termlist="yes"/>
-      <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional"/>
-      <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
-      <metadata name="id"/>
-      <metadata name="lccn" merge="unique"/>
+      <metadata>
+         <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2" mergekey="optional"/>
+         <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
+         <metadata name="id"/>
+         <metadata name="lccn" merge="unique"/>
+      </metadata>
       <metadata name="description" brief="yes" merge="longest" rank="3"/>
     </service>
\ No newline at end of file