<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:08:23 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>[MDSAL-1] Binding Specification: Grouping, data, typedef and identity namespaces collide</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-1</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;Simple yang of:&lt;/p&gt;

&lt;p&gt;grouping foo-input {&lt;br/&gt;
        leaf whatever &lt;/p&gt;
{
                type boolean;
        }
&lt;p&gt;}&lt;/p&gt;

&lt;p&gt;rpc foo {&lt;br/&gt;
        input &lt;/p&gt;
{
                uses foo-input;
        }
&lt;p&gt;       &lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;results in a class in the form of&lt;/p&gt;

&lt;p&gt;&apos;interface FooInput extends FooInput&apos;&lt;/p&gt;

&lt;p&gt;which fails to compile.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26823">MDSAL-1</key>
            <summary>Binding Specification: Grouping, data, typedef and identity namespaces collide</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                                <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="jakubtoth-0">Jakub Toth</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Nov 2013 13:01:02 +0000</created>
                <updated>Fri, 9 Mar 2018 18:00:01 +0000</updated>
                            <resolved>Fri, 10 Mar 2017 11:56:47 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="53893" author="rovarga" created="Tue, 21 Jan 2014 16:50:53 +0000"  >&lt;p&gt;This will be addressed in next version of binding specification.&lt;/p&gt;</comment>
                            <comment id="53894" author="rovarga" created="Thu, 31 Jul 2014 11:32:57 +0000"  >&lt;p&gt;There are two possible options how to address this:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;add an implicit prefix/suffix to all generated interfaces, which will say what sort of object it is (Grouping, DataContainer, etc.)&lt;/li&gt;
	&lt;li&gt;split the top-level package namespace into appropriate packages: org.opendaylight.yang.gen.v1.
{rpc,grouping,data,notification,typedef}
&lt;p&gt;.&amp;lt;Namespace&amp;gt;...&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="53895" author="vrpolak" created="Wed, 6 Jul 2016 12:45:37 +0000"  >&lt;p&gt;An example without grouping, in combination with case-insensitiveness of first letter:&lt;/p&gt;

&lt;p&gt;  typedef Foo &lt;/p&gt;
{
    type string;
  }
&lt;p&gt;  container foo {&lt;br/&gt;
    leaf bar &lt;/p&gt;
{
      type Foo;
    }
&lt;p&gt;  }&lt;/p&gt;</comment>
                            <comment id="53896" author="jatoth@cisco.com" created="Thu, 9 Mar 2017 14:30:20 +0000"  >&lt;p&gt;This should be fixed by &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/52007/27&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/52007/27&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;JUnit tests example:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Same class names in same package&lt;br/&gt;
public void sameClassNamesSamePackageTest() 
{
        String normalizeIdentifier1 = NonJavaCharsConverter.normalizeClassIdentifier(&quot;org.example.same.package&quot;, &quot;Foo&quot;);
        String normalizeIdentifier2 = NonJavaCharsConverter.normalizeClassIdentifier(&quot;org.example.same.package&quot;, &quot;fOo&quot;);
        final String normalizeIdentifier3 =
                NonJavaCharsConverter.normalizeClassIdentifier(&quot;org.example.same.package&quot;, &quot;foo&quot;);
        assertEquals(normalizeIdentifier1, &quot;Foo&quot;);
        assertEquals(normalizeIdentifier2, &quot;Foo1&quot;);
        assertEquals(normalizeIdentifier3, &quot;Foo2&quot;);
        ...
    }&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="53897" author="jatoth@cisco.com" created="Thu, 9 Mar 2017 14:34:47 +0000"  >&lt;p&gt;(In reply to Robert Varga from comment #0)&lt;br/&gt;
&amp;gt; Simple yang of:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; grouping foo-input {&lt;br/&gt;
&amp;gt;         leaf whatever &lt;/p&gt;
{
&amp;gt;                 type boolean;
&amp;gt;         }
&lt;p&gt;&amp;gt; }&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; rpc foo {&lt;br/&gt;
&amp;gt;         input &lt;/p&gt;
{
&amp;gt;                 uses foo-input;
&amp;gt;         }
&lt;p&gt;       &lt;br/&gt;
&amp;gt; }&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; results in a class in the form of&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; &apos;interface FooInput extends FooInput&apos;&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt; which fails to compile.&lt;/p&gt;

&lt;p&gt;So after use of NonJavaCharsConverter  from &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/52007/27&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/52007/27&lt;/a&gt; this will never happen. The result will -&amp;gt;&lt;/p&gt;

&lt;p&gt;&apos;interface FooInput extends FooInput1&apos; -&amp;gt; acceptable&lt;/p&gt;</comment>
                            <comment id="53898" author="jatoth@cisco.com" created="Thu, 9 Mar 2017 14:38:06 +0000"  >&lt;p&gt;(In reply to Vratko Pol&#225;k from comment #6)&lt;br/&gt;
&amp;gt; An example without grouping, in combination with case-insensitiveness of&lt;br/&gt;
&amp;gt; first letter:&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;gt;   typedef Foo &lt;/p&gt;
{
&amp;gt;     type string;
&amp;gt;   }
&lt;p&gt;&amp;gt;   container foo {&lt;br/&gt;
&amp;gt;     leaf bar &lt;/p&gt;
{
&amp;gt;       type Foo;
&amp;gt;     }
&lt;p&gt;&amp;gt;   }&lt;/p&gt;

&lt;p&gt;The same here. After use of NonJavaCharsConverter will be result -&amp;gt; &lt;/p&gt;

&lt;p&gt;&apos;Foo and the next one Foo (or foo or fOo ..) will be Foo1&apos;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="26862">MDSAL-40</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="26828">MDSAL-6</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27001">MDSAL-179</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="27029">MDSAL-207</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22825">YANGTOOLS-405</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="22826">YANGTOOLS-406</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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>138</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=138]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10308"><![CDATA[New Feature]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10336"><![CDATA[Carbon-RC0]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10353"><![CDATA[Lowest]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02vpb:</customfieldvalue>

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