From: Adam Dickmeiss Date: Wed, 4 May 2005 12:53:05 +0000 (+0000) Subject: Make test for bug #317 X-Git-Tag: snippet.version.1~41 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=6b2166e712b20158a0aa0e577c331c7e94d8ec2f Make test for bug #317 --- diff --git a/test/xpath/assembled.abs b/test/xpath/assembled.abs index 72e6c26..7daa026 100644 --- a/test/xpath/assembled.abs +++ b/test/xpath/assembled.abs @@ -3,3 +3,4 @@ attset bib1.att xpath enable xelm /assembled/basic/names/CASno !:w,!:p,!:s,NAL-call-number:p,Title-key:s +xelm /*/orgs body-of-text:w diff --git a/test/xpath/xpath6.c b/test/xpath/xpath6.c index c503157..c0ef3c3 100644 --- a/test/xpath/xpath6.c +++ b/test/xpath/xpath6.c @@ -1,4 +1,4 @@ -/* $Id: xpath6.c,v 1.2 2005-01-15 19:38:40 adam Exp $ +/* $Id: xpath6.c,v 1.3 2005-05-04 12:53:05 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -60,5 +60,10 @@ int main(int argc, char **argv) "@and @attr 1=/assembled/orgs/org 1 @attr 5=1 @attr 6=3 @attr 4=1 " "@attr 1=/assembled/basic/names/CASno 367-93-1", 2); +#if 0 + /* bug #317 */ + do_query(__LINE__, zh, "@attr 1=1010 46", 1); +#endif + return close_down(zh, zs, 0); }