<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Searching with XPath Query problem with jcr:contains in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-xpath-query-problem-with-jcr-contains/m-p/95152#M65271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Alfresco 1.4 community with winXP.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I try to implement simple search using Xpath Query. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that when I execute my query I don't get the result that I expect. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do this &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;query = queryManager.createQuery("//app:company_home/cm:infodoc/*[(jcr:contains(.,'"+nom+"')]",Query.XPATH);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This query don't give the correct result, it give me not all the document it should. Is there somebody who have this kind of problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JÃ©rÃ´me D.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2007 09:35:00 GMT</pubDate>
    <dc:creator>jdeus</dc:creator>
    <dc:date>2007-05-29T09:35:00Z</dc:date>
    <item>
      <title>Searching with XPath Query problem with jcr:contains</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-xpath-query-problem-with-jcr-contains/m-p/95152#M65271</link>
      <description>Hello, I'm using Alfresco 1.4 community with winXP.I try to implement simple search using Xpath Query. The problem is that when I execute my query I don't get the result that I expect. I do this query = queryManager.createQuery("//app:company_home/cm:infodoc/*[(jcr:contains(.,'"+nom+"')]",Query.XPAT</description>
      <pubDate>Tue, 29 May 2007 09:35:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-xpath-query-problem-with-jcr-contains/m-p/95152#M65271</guid>
      <dc:creator>jdeus</dc:creator>
      <dc:date>2007-05-29T09:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Searching with XPath Query problem with jcr:contains</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/searching-with-xpath-query-problem-with-jcr-contains/m-p/95153#M65272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you describe your query in words? Are you trying to do mandatory matches or wildcards??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2007 10:44:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/searching-with-xpath-query-problem-with-jcr-contains/m-p/95153#M65272</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2007-09-17T10:44:21Z</dc:date>
    </item>
  </channel>
</rss>

