Hi, I have HTML, Word and PDF files converted by the CPF, and I'm using the search api to query them.
In the search response, the path given to the html files is slightly different from the others, for example: 1. <search:result path="doc("/content/user/pdf/abc_pdf.xml")" uri="/content/user/pdf/abc_pdf.xml" index="1" .... 2. <search:resultpath="doc("/content/user/html/abc.html")" uri="/content/user/html/abc.html" index="2" .... The path to the PDF file (1) is "filename_pdf.xml", and the same happens for Word files - "filename_word.xml". However for the html files (2), the path is "filename.html". I don't currently use the search:match/@path, but that suffers the same problem and looks likely to cause an exception if used: <search:match path="doc("/content/user/html/abc.html")/text()"> In that directory (/content/user/html/) all the files are created as expected: ".html", "_html.xhtml" and "_html.xml" so I suspect it's a possible bug in the search:response xml ? I'm using 4.1-2 -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/ _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
