<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:08 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-402] XXX.getQName() should return namespace of module to which XXX belongs</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-402</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;According to documentation method QName.getQname() should contain namespace which:&lt;br/&gt;
&quot;XMLNamespace - the namespace assigned to the YANG module which defined element, type, procedure or notification.&quot;&lt;/p&gt;

&lt;p&gt;Problematic yang source:&lt;br/&gt;
module network-topology-pcep {&lt;br/&gt;
    namespace &quot;urn:opendaylight:params:xml:ns:yang:topology:pcep&quot;;&lt;br/&gt;
    prefix &quot;pn&quot;;&lt;/p&gt;

&lt;p&gt;    import network-topology &lt;/p&gt;
{ prefix nt; revision-date 2013-10-21; }

&lt;p&gt;    grouping lsp-id {&lt;br/&gt;
        leaf node &lt;/p&gt;
{
            type nt:node-ref;
            mandatory true;
        }
&lt;p&gt;    }&lt;/p&gt;

&lt;p&gt;    grouping add-lsp-args &lt;/p&gt;
{
        uses lsp-id;

    }

&lt;p&gt;    rpc add-lsp {&lt;br/&gt;
        input &lt;/p&gt;
{
            uses add-lsp-args;
        }
&lt;p&gt;    }&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;In this case &amp;gt;&amp;gt;leaf node&amp;lt;&amp;lt; is defined in network-topology-pcep therefore when on LeafSchemaNode for node is called getQName() then &quot;urn:opendaylight:params:xml:ns:yang:topology:pcep&quot; which is correct.&lt;/p&gt;

&lt;p&gt;When getQName() is called from type (LeafSchemaNode.getType().getQName()) then QName with namespace &quot;urn:opendaylight:params:xml:ns:yang:topology:pcep&quot; is also returned. I would expect namespace of network-topology (referenced via nt).&lt;/p&gt;

&lt;p&gt;This expected behaviour works for example in this module:&lt;br/&gt;
  module leafref-module {&lt;br/&gt;
  namespace &quot;leafref:module&quot;;  &lt;/p&gt;

&lt;p&gt;  prefix &quot;lfrfmo&quot;;&lt;/p&gt;

&lt;p&gt;	  import referenced-leafref-module &lt;/p&gt;
{prefix refleafref; revision-date 2014-12-16;}
&lt;p&gt;	  revision 2013-11-18 {    &lt;br/&gt;
	  }&lt;/p&gt;

&lt;p&gt;	    container cont {&lt;br/&gt;
	        leaf lf4 &lt;/p&gt;
{
	            type refleafref:leafreftype;
	        }
&lt;p&gt;	    }&lt;/p&gt;

&lt;p&gt;  }&lt;/p&gt;

&lt;p&gt;If LeafSchemaNode.getType().getQName() (LeafSchemaNode represent lf4) is called then namespace of augment-leafref-module is returned.&lt;/p&gt;

&lt;p&gt;The diference between these modules is that in first case is leaf wrapped in two grouping and in second it is direct child of container.&lt;/p&gt;

&lt;p&gt;What is correct behavior? Is it bug?&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22822">YANGTOOLS-402</key>
            <summary>XXX.getQName() should return namespace of module to which XXX belongs</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</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="pkajsa">Peter Kajsa</assignee>
                                    <reporter username="jgloncak">Jozef Gloncak</reporter>
                        <labels>
                    </labels>
                <created>Thu, 22 Jan 2015 15:13:19 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:28 +0000</updated>
                            <resolved>Wed, 11 Feb 2015 14:56:57 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="43244" author="dkutenicsova" created="Fri, 23 Jan 2015 14:15:52 +0000"  >&lt;p&gt;Increasing importance and severity as this causes all PCEP tests to fail.&lt;/p&gt;</comment>
                            <comment id="43245" author="rovarga" created="Thu, 5 Feb 2015 11:47:49 +0000"  >&lt;p&gt;Blocks PCEP usability, hence blocker.&lt;/p&gt;</comment>
                            <comment id="43246" author="rovarga" created="Thu, 5 Feb 2015 12:28:05 +0000"  >&lt;p&gt;Regression introduced by &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/13684&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/13684&lt;/a&gt; .&lt;/p&gt;</comment>
                            <comment id="43247" author="pkajsa" created="Wed, 11 Feb 2015 12:59:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/15141/1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/15141/1&lt;/a&gt;&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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2624</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=2624]]></customfieldvalue>

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

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

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

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

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