this syntax is supported /record/metadata/da...@qualifier='Date']. if I am not wrong and there is a testcase also for that
On Tue, Feb 3, 2009 at 7:20 AM, Lance Norskog <goks...@gmail.com> wrote: > A separate problem: when I used the DIH in December, the xpath > implementation had few features. '[...@qualifier='Date']' may not be > supported. > > <field column="date" xpath="/record/metadata/da...@qualifier='Date']" > dateTimeFormat="yyyyMMdd" /> > > > On Mon, Feb 2, 2009 at 9:24 AM, Noble Paul നോബിള് नोब्ळ् < > noble.p...@gmail.com> wrote: > >> this patch must help >> >> On Mon, Feb 2, 2009 at 10:49 PM, Shalin Shekhar Mangar >> <shalinman...@gmail.com> wrote: >> > On Mon, Feb 2, 2009 at 10:34 PM, Fergus McMenemie <fer...@twig.me.uk> >> wrote: >> > >> >> >> >> Is there some simple escape or other syntax to be used or is >> >> this an enhancement? >> >> >> > >> > I guess the problem is that we are creating the regex Pattern without >> first >> > resolving the variable. So we need to call VariableResolver.resolve on >> the >> > 'regex' attribute's value before creating the Pattern object. >> > >> > Please raise an issue for this change. Nice use-case though. I guess we >> > never thought someone would need to use a variable in the regex attribute >> :) >> > >> > -- >> > Regards, >> > Shalin Shekhar Mangar. >> > >> >> >> >> -- >> --Noble Paul >> > > > > -- > Lance Norskog > goks...@gmail.com > 650-922-8831 (US) > -- --Noble Paul