From 8261dce5dd97ae98c9b07d532b12f01ef6fbf751 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 6 Feb 2006 23:21:49 +0000 Subject: [PATCH] Added test for bug #460 --- test/xpath/assembled.abs | 2 ++ test/xpath/xpath6.c | 8 +++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/test/xpath/assembled.abs b/test/xpath/assembled.abs index ad7f8c5..158226b 100644 --- a/test/xpath/assembled.abs +++ b/test/xpath/assembled.abs @@ -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 diff --git a/test/xpath/xpath6.c b/test/xpath/xpath6.c index 7eac00e..22878a0 100644 --- a/test/xpath/xpath6.c +++ b/test/xpath/xpath6.c @@ -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); } -- 1.7.10.4