<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:27 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-838] Yang parser should support detect grouping name collisions</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-838</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;All grouping names defined within a parent node or at the top&lt;br/&gt;
 level of the module or its submodules share the same grouping&lt;br/&gt;
 identifier namespace. This namespace is scoped to all descendant&lt;br/&gt;
 nodes of the parent node or module. This means that any&lt;br/&gt;
 descendant node may use that grouping, and it MUST NOT define a&lt;br/&gt;
 grouping with the same name.&lt;/p&gt;

&lt;p&gt;module test {&lt;br/&gt;
&#160; &#160; grouping grp;&lt;br/&gt;
&#160; &#160; container cont &lt;/p&gt;
{ &#160; &#160; &#160; &#160; &#160; &#160;
&#160; &#160; &#160; &#160; grouping grp&#65307; &#160; &#160; &#160;
&#160; &#160; &#160;}
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="29007">YANGTOOLS-838</key>
            <summary>Yang parser should support detect grouping name collisions</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="JieHan2017">Jie Han</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Dec 2017 08:02:45 +0000</created>
                <updated>Mon, 25 Dec 2017 15:57:29 +0000</updated>
                            <resolved>Mon, 25 Dec 2017 15:57:29 +0000</resolved>
                                                    <fixVersion>2.0.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="60523" author="rovarga" created="Wed, 20 Dec 2017 12:45:11 +0000"  >&lt;p&gt;The description is a quote from &lt;a href=&quot;https://tools.ietf.org/html/rfc7950#section-6.2.1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc7950#section-6.2.1&lt;/a&gt;. Furthermore section 5.5 explicitly forbids identifier shadowing:&lt;br/&gt;
   Scoped definitions MUST NOT shadow definitions at a higher scope.  A&lt;br/&gt;
   type or grouping cannot be defined if a higher level in the statement&lt;br/&gt;
   hierarchy has a definition with a matching identifier.&lt;br/&gt;
&#160;&lt;/p&gt;</comment>
                            <comment id="60524" author="rovarga" created="Wed, 20 Dec 2017 13:24:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/66666&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/66666&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="60546" author="jiehan2017" created="Fri, 22 Dec 2017 08:28:49 +0000"  >&lt;p&gt;The codes here seems doesn&apos;t work as I have tried, since it&apos;s deep first, when the deepest grouping was added to grouping namespace but the ancestor groupings have not been walked then, so here it would always return null by getFromNamespace,  I have been considering to add another check phase after full declare phase to resolve it by then all groupings are in the grouping namespace.&lt;/p&gt;</comment>
                            <comment id="60550" author="rovarga" created="Sat, 23 Dec 2017 12:33:39 +0000"  >&lt;p&gt;Adding another phase would be too intrusive and would require another complete walk of the statement tree. The patch has been fixed to check conflicts at declared statement instantiation time, which should be sufficient.&lt;/p&gt;</comment>
                            <comment id="60554" author="jiehan2017" created="Mon, 25 Dec 2017 02:37:13 +0000"  >&lt;p&gt;Yes, adding a new phase is the last option, it&apos;s better to reuse the original progress.&lt;/p&gt;</comment>
                    </comments>
                    <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|i0393r:</customfieldvalue>

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