<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:50 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>[NETCONF-1170] netconf-client-mdsal emits useless namespace in filter</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1170</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;When we emit a filter we end up doing this:&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;&amp;lt;filter xmlns:ns0=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot; ns0:type=&quot;subtree&quot; xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;
    &amp;lt;top xmlns=&quot;http://example.com/schema/1.2/config&quot;&amp;gt;
        &amp;lt;users&amp;gt;
        &amp;lt;/users&amp;gt;
    &amp;lt;/top&amp;gt;
&amp;lt;/filter&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The problem here is that we emit a namespace declaration to host the &apos;type&apos; attribute, which is wrong. The interpretation here is that attributes inhering the default namespace, but that is not true: attributes do not inherit the the namespace of the element in which they are declared.&lt;/p&gt;

&lt;p&gt;In this particular case &quot;type&quot; should just be a plain attribute, without any prefix:&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;&amp;lt;filter type=&quot;subtree&quot; xmlns=&quot;urn:ietf:params:xml:ns:netconf:base:1.0&quot;&amp;gt;
    &amp;lt;top xmlns=&quot;http://example.com/schema/1.2/config&quot;&amp;gt;
        &amp;lt;users&amp;gt;
        &amp;lt;/users&amp;gt;
    &amp;lt;/top&amp;gt;
&amp;lt;/filter&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;and without the ns declaration when we already have it in an ancestor element.&lt;/p&gt;</description>
                <environment></environment>
        <key id="37421">NETCONF-1170</key>
            <summary>netconf-client-mdsal emits useless namespace in filter</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="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="rovarga">Robert Varga</reporter>
                        <labels>
                    </labels>
                <created>Sun, 1 Oct 2023 20:09:34 +0000</created>
                <updated>Wed, 11 Oct 2023 08:54:37 +0000</updated>
                            <resolved>Wed, 11 Oct 2023 08:54:37 +0000</resolved>
                                    <version>3.0.9</version>
                    <version>5.0.7</version>
                    <version>4.0.8</version>
                    <version>6.0.4</version>
                                    <fixVersion>7.0.0</fixVersion>
                    <fixVersion>5.0.8</fixVersion>
                    <fixVersion>6.0.5</fixVersion>
                                    <component>netconf-client-mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <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|i046mv:</customfieldvalue>

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