<snip />

> When I uncomment the doc.appendChild statement, I can fetch the metadata
> without a problem.  I'm attaching a small perl program to verify it.  Here
> are my steps to test it:
> 
> 1. %ANT_HOME%\bin\ant
> 2. xindice debug
> 3. uncomment insert statements in dv-xi.pl 4. perl dv-xi.pl
> 5. comment out insert statements in dv-xi.pl 6. perl dv-xi.pl
> 
> This outputs:
> $VAR1 = {
>           'result' => '<?xml version="1.0"?>
> <meta xmlns="http://apache.org/xindice/metadata";><system
> type="doc"><!--Create t
> ime is Mon Aug 04 17:10:13 PDT 2003--><attr name="created"
> value="1060042213333"
>  /><!--Modified time is Mon Aug 04 17:10:13 PDT 2003--><attr
>  name="modified"
> val
> ue="1060042213333" /></system></meta>'
>         };
> ALL DONE
> 
> 
> let me know if this works for you.
> dave


Can this be converted to a unit test?

-k.

Reply via email to