<?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 JSR-170 Querying support in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/jsr-170-querying-support/m-p/17557#M7916</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;SPAN&gt;I've tried to execute simple query which selects nodes by assigned mix-in … but fail …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my query (almost one-to-one copied from JSR-170 spec):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//element(*, {my.new.model}:imageClassification)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where {my.new.model}:imageClassification is a mix-in name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The result is an exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.jaxen.saxpath.XPathSyntaxException: //element(*, {my.new.model}:imageClassification): 10: Expected node-type&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However executing regular XPath query //{my.new.model}:imageClassification works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I do something incorrectly or it means that JSR-170 XPath syntax is not supported in current Alfresco version?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so… when it can be expected?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Max&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2005 17:03:42 GMT</pubDate>
    <dc:creator>maksim</dc:creator>
    <dc:date>2005-11-14T17:03:42Z</dc:date>
    <item>
      <title>JSR-170 Querying support</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jsr-170-querying-support/m-p/17557#M7916</link>
      <description>Hi,I've tried to execute simple query which selects nodes by assigned mix-in … but fail …Here is my query (almost one-to-one copied from JSR-170 spec)://element(*, {my.new.model}:imageClassification)Where {my.new.model}:imageClassification is a mix-in name.The result is an exception&lt;IMG id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg.jaxen.saxpat</description>
      <pubDate>Mon, 14 Nov 2005 17:03:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jsr-170-querying-support/m-p/17557#M7916</guid>
      <dc:creator>maksim</dc:creator>
      <dc:date>2005-11-14T17:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: JSR-170 Querying support</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jsr-170-querying-support/m-p/17558#M7917</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;I think this is my issue as the implementation tests for type as opposed to types and aspects. I will recheck the JSR 170 spec and fix accordingly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have raised this as AR-244&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2005 09:31:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jsr-170-querying-support/m-p/17558#M7917</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2005-11-15T09:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: JSR-170 Querying support</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/jsr-170-querying-support/m-p/17559#M7918</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;I have just checked the 170 spec (6.6.4.13 to be precise).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The element node test is for the node primary type not mixins.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not think there is any support for this in 170.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using name space prefixes you would have&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;myModel:myType&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using explicit namespaces you would have&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://some.url.to/my/model}myType" rel="nofollow noopener noreferrer"&gt;http://some.url.to/my/model}myType&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure if this is giving you the parse error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could use a query direct to the lucene index to do the same job if you are not fixed to 170. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Nov 2005 17:19:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/jsr-170-querying-support/m-p/17559#M7918</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2005-11-15T17:19:23Z</dc:date>
    </item>
  </channel>
</rss>

