<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:14:07 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-81] Netconf RPC replies don&apos;t comply with RFC 6241, section 3.2</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-81</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;The RFC 6241, section 3.2 states that &quot;Document Type Definitions MUST NOT appear in NETCONF content&quot;. Yet when I emit a request, the response I get from ODL contains a document type declaration.&lt;/p&gt;

&lt;p&gt;I heard that there are devices which are not compliant with this RFC section by requiring these document type definitions to interoperate (Juniper?) but I can easily imagine that a device fails to interoperate when these document type definitions are present in the responses.&lt;/p&gt;

&lt;p&gt;So to fix this bug and allow for interoperability it would be best to make the behavior configurable, with the default set to &quot;do not send document type definitions&quot;. If this is already configurable, then the problem is that the default is wrong.&lt;/p&gt;

&lt;p&gt;I just unpack the distribution, add Netconf to boot features, run Karaf and start sending the requests and the result is that the document types are sent in each reply. See the test suite at &lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/27672&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/27672&lt;/a&gt; where you can see that all the *-reply.msg files contain the document type definitions; this test suite is passing but it should fail as these expected replies are not RFC compliant.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="21094">NETCONF-81</key>
            <summary>Netconf RPC replies don&apos;t comply with RFC 6241, section 3.2</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="10003">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="jbehran@cisco.com">Jozef Behran</reporter>
                        <labels>
                    </labels>
                <created>Fri, 9 Oct 2015 11:20:09 +0000</created>
                <updated>Fri, 15 Mar 2019 22:22:15 +0000</updated>
                            <resolved>Mon, 21 Dec 2015 13:31:31 +0000</resolved>
                                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="38984" author="jbehran@cisco.com" created="Fri, 6 Nov 2015 15:03:12 +0000"  >&lt;p&gt;This might be also a bug in the RFC 6241 itself. In section &quot;3&quot; it states that &quot;A NETCONF message MAY begin with an XML declaration&quot; but in &quot;3.2&quot; it states &quot;Document type declarations ... MUST NOT appear in NETCONF content.&quot;&lt;/p&gt;

&lt;p&gt;They did not specify exactly what &quot;NETCONF content&quot; actually means but from the overall tone of the RFC I came to the conclusion that they meant &quot;NETCONF message&quot;, hence this bug.&lt;/p&gt;

&lt;p&gt;I thus vote for removal of the XML declarations from the NETCONF replies as I can easily imagine a device that does not expect them with this belief based on the section &quot;3.2&quot;.&lt;/p&gt;</comment>
                            <comment id="38985" author="tcere" created="Mon, 21 Dec 2015 13:31:31 +0000"  >&lt;p&gt;XML declaration and document type declaration(DOCTYPE) are not the same thing.&lt;br/&gt;
Messages sent by ODL contain only XML declaration which is allowed by rfc 6241, only DOCTYPE is prohibited.&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>4446</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=4446]]></customfieldvalue>

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

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

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