<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:34 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[YANGTOOLS-879] Allow XPath evaluation to bind variables</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-879</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;yang-data-api XPath evaluation should allow for variables to be injected into a compiled expression prior to its evaluation.&lt;/p&gt;

&lt;p&gt;YANG 1.1 specifies an empty variable context, which means that variable references are not useful in the context of YANG validation and would always result in evaluation failure.&lt;/p&gt;

&lt;p&gt;This is not the case when we are allowing pre-compiled queries in scope of &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-50&quot; title=&quot;Make MD-SAL Searchable&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-50&quot;&gt;MDSAL-50&lt;/a&gt;. There we really want the ability to pre-compile a query with variable references and have them injected separately when the query is being evaluated.&lt;/p&gt;

&lt;p&gt;This essentially leads to a expression workflow:&lt;/p&gt;

&lt;p&gt;1) expression defined in terms of yang-model-api (&lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-877&quot; title=&quot;Add yang-model-api model of an XPath expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-877&quot;&gt;&lt;del&gt;YANGTOOLS-877&lt;/del&gt;&lt;/a&gt;), gets translated to&lt;/p&gt;

&lt;p&gt;2) expression defined in terms of yang-data-api (&lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-878&quot; title=&quot;Add yang-data-api model of an XPath expression&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-878&quot;&gt;YANGTOOLS-878&lt;/a&gt;), gets compiled to&lt;/p&gt;

&lt;p&gt;3) org.opendaylight.yangtools.yang.data.api.schema.xpath.XPathExpression&lt;/p&gt;

&lt;p&gt;XPathExpression.evaluate() should then provide QName/value mapping, which is populated into XPath variable binding before the expression is evaluated. Note that implementation-wise this can be treated as a further refinement step, so that variable references in the expression are substituted with their values &#8211; at which point we can run constant subexpression elimination and similar optimizations.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="29896">YANGTOOLS-879</key>
            <summary>Allow XPath evaluation to bind variables</summary>
                <type id="10103" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10311&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 May 2018 11:31:34 +0000</created>
                <updated>Wed, 1 Aug 2018 08:39:16 +0000</updated>
                                                                                <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                    <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="29895">YANGTOOLS-878</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03e4f:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>