> From: John Moylan [mailto:[EMAIL PROTECTED]]
> 
> Hi,
> 
> Are there issues I should be aware of when using the xmldb using
xindice
> from the command line to return documents using:
> xindice xpath_query -c /db/extractsdb -q
>
"//Metadata/Property[@FormalName='PublicationDate'][@Value='20020710']"
> the result I get is all files published on the 20020710
> 
> But, when I use the following in cocoon:
>
http://localhost:8080/cocoon/xmldb/extractsdb/?xpath=//Metadata/Property
[@Form
> alName='PublicationDate'][@Value='20020710']
> the result I get is for all files in the collection.

1. Try escaping your query properly. IIRC, '=' sign in parameter value
has to be escaped.

2. See log files, should have 'Querying resource...' or 'Obtaining
resource...' line.

Vadim


> Does Cocoon's XMLDB transformer have problems with attributes, or with
> timeouts on xpath queries in Xindice( I have created an index, but I
am
> querying 4000 xml files each of which is between 80k-500k.)
> 
> John


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to