Added test for bug #460
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 6 Feb 2006 23:21:49 +0000 (23:21 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 6 Feb 2006 23:21:49 +0000 (23:21 +0000)
test/xpath/assembled.abs
test/xpath/xpath6.c

index ad7f8c5..158226b 100644 (file)
@@ -8,3 +8,5 @@ xelm //something Title:w
 
 # Bib-level=1021
 xelm /assembled/@org          Bib-level:w,Bib-level:w
+
+xelm /assembled/basic         Title:w
index 7eac00e..22878a0 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: xpath6.c,v 1.6 2005-11-09 08:09:44 adam Exp $
+/* $Id: xpath6.c,v 1.7 2006-02-06 23:21:49 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -72,5 +72,11 @@ int main(int argc, char **argv)
     /* bug #431 */
     do_query(__LINE__, zh, "@attr 1=1021 1", 0);
 
+    /* bug #460 */
+    do_query(__LINE__, zh, "@attr 1=4 46", 0);
+
+    /* bug #460 */
+    do_query(__LINE__, zh, "@attr 1=4 beta", 1);
+
     return close_down(zh, zs, 0);
 }