<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:09:57 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-502] mdsal source generator resolves &quot;-&quot;  &quot;_&quot;  as the same thing</title>
                <link>https://jira.opendaylight.org/browse/MDSAL-502</link>
                <project id="10137" key="MDSAL">mdsal</project>
                    <description>&lt;p&gt;if we have two grouping with names &quot;my-grouping&quot; and &quot;my_grouping&quot; both of them will be resolved as my_grouping which is wrong.&lt;/p&gt;

&lt;p&gt;Same thing happens if we have &quot;MyGrp&quot; and &quot;My_grp&quot;&lt;/p&gt;

&lt;p&gt;example model:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;module example {
    yang-version 1.1;
    namespace &quot;urn:opendaylight:params:xml:ns:yang:example&quot;;
    prefix &quot;example&quot;;

    revision &quot;2018-05-17&quot; { // TODO change revision to date of model creation
        description &quot;Initial revision of example model&quot;;
    }

    grouping MyGrp{
        leaf foo {
            type string;
        }
    }

    grouping My_grp{
        leaf bar {
            type string;
        }
    }

    container my_container {
        uses MyGrp;
        uses My_grp;
    }
}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="32262">MDSAL-502</key>
            <summary>mdsal source generator resolves &quot;-&quot;  &quot;_&quot;  as the same thing</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="3" iconUrl="https://jira.opendaylight.org/images/icons/statuses/inprogress.png" description="This issue is being actively worked on at the moment by the assignee.">In Progress</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ivanhrasko">Ivan Hrasko</assignee>
                                    <reporter username="miro.kovac">Miroslav Kovac</reporter>
                        <labels>
                            <label>pick-next</label>
                            <label>pt</label>
                    </labels>
                <created>Tue, 17 Dec 2019 14:42:47 +0000</created>
                <updated>Thu, 25 Jan 2024 11:16:22 +0000</updated>
                                                            <fixVersion>11.0.16</fixVersion>
                                    <component>Binding codegen</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="67922" author="rovarga" created="Fri, 28 Feb 2020 18:31:16 +0000"  >&lt;p&gt;This is actually according to Binding Spec, which was created with the expectation of sane modeling &#8211; either use underscores or dashes, not mix them.&lt;/p&gt;</comment>
                            <comment id="68949" author="rovarga" created="Wed, 3 Feb 2021 14:51:44 +0000"  >&lt;p&gt;We&apos;ll need to solve this at some point. Some sort of collision avoidance is needed &#8211; probably similar to what we do for type/grouping/schemanode conflict resultion.&lt;/p&gt;</comment>
                            <comment id="69023" author="rovarga" created="Mon, 15 Mar 2021 15:36:54 +0000"  >&lt;p&gt;This is slighty related to &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-405&quot; title=&quot;Generated unions fail to enforce patterns&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-405&quot;&gt;MDSAL-405&lt;/a&gt; and &lt;a href=&quot;https://jira.opendaylight.org/browse/MDSAL-503&quot; title=&quot;Wrongly generated java code using derived type&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MDSAL-503&quot;&gt;MDSAL-503&lt;/a&gt; in that in order to resolve this issue we need to have a&#160;&lt;a href=&quot;https://www.youtube.com/watch?v=RdqiaNsKR2E&amp;amp;t=8s&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;multi-pass&lt;/a&gt; binding-generator-impl &#8211; that will give us enough context to deal with this this and other naming conflicts.&lt;/p&gt;</comment>
                            <comment id="69420" author="rovarga" created="Mon, 19 Jul 2021 10:58:33 +0000"  >&lt;p&gt;We now have a multi-pass generator, which performs proper name allocation. Now we need to add a bijective name mapping, which cannot be confused with camel-cases.&lt;/p&gt;

&lt;p&gt;Probably the best option is to prepend&#160;&lt;a href=&quot;https://www.fileformat.info/info/unicode/char/00a4/index.htm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;\u00a4&lt;/a&gt; (CURRENCY SIGN, &#164;) as the leading character, which is allowed as it is a currency symbol. It is guaranteed to not conflict and can quickly be used to determine that the name requires special handling. The rest of the name should not be touched except for replacement of &apos;.&apos; with &lt;a href=&quot;https://www.fileformat.info/info/unicode/char/fe4e/index.htm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;\ufe4e&lt;/a&gt; (CENTERLINE LOW LINE, &#65102;)and &apos;-&apos; with&#160;&lt;a href=&quot;https://www.fileformat.info/info/unicode/char/fe4e/index.htm&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;\ufe4d&lt;/a&gt; (DASHED LOW LINE, &#65101;).&#160; This string should then be always used as is, in contexts of package names, property names and class names.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10300">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="36638">MDSAL-810</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="31194">MDSAL-405</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="32263">MDSAL-503</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i03qfb:</customfieldvalue>

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