<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:34 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-1055] XML POST: Payloads are not well-formed XML documents</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1055</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;According to &lt;a href=&quot;https://www.w3schools.com/XML/xml_syntax.asp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;XML Syntax (w3schools.com)&lt;/a&gt; XML documents must contain one&#160;root&#160;element that is the&#160;parent of all other elements.&lt;/p&gt;

&lt;p&gt;But currently ODL is accepting POST XML requests like this:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&amp;lt;?xml version=&lt;span class=&quot;code-quote&quot;&gt;&quot;1.0&quot;&lt;/span&gt; encoding=&lt;span class=&quot;code-quote&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;?&amp;gt;&amp;lt;topology-id xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&lt;/span&gt;&amp;gt;topology-id&amp;lt;/topology-id&amp;gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And rejects POST XML requests like this:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&amp;lt;?xml version=&lt;span class=&quot;code-quote&quot;&gt;&quot;1.0&quot;&lt;/span&gt; encoding=&lt;span class=&quot;code-quote&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;?&amp;gt;&amp;lt;network-topology xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&lt;/span&gt;&amp;gt;    &amp;lt;topology-id xmlns=&lt;span class=&quot;code-quote&quot;&gt;&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&lt;/span&gt;&amp;gt;topology-id&amp;lt;/topology-id&amp;gt;&amp;lt;/network-topology&amp;gt; &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;For &lt;a href=&quot;http://192.168.56.25:8181/rests/data/network-topology:network-topology/topology=topology-id&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://192.168.56.25:8181/rests/data/network-topology:network-topology/topology=topology-id&lt;/a&gt; paths.&lt;/p&gt;</description>
                <environment></environment>
        <key id="37007">NETCONF-1055</key>
            <summary>XML POST: Payloads are not well-formed XML documents</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.opendaylight.org/images/icons/priorities/blocker.svg">Highest</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="ivanhrasko">Ivan Hrasko</assignee>
                                    <reporter username="ivanhrasko">Ivan Hrasko</reporter>
                        <labels>
                            <label>pick-next</label>
                            <label>pt</label>
                    </labels>
                <created>Tue, 13 Jun 2023 14:52:12 +0000</created>
                <updated>Thu, 13 Jul 2023 07:23:06 +0000</updated>
                                                            <fixVersion>7.0.0</fixVersion>
                                    <component>restconf-nb</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="72402" author="ivanhrasko" created="Thu, 13 Jul 2023 07:20:09 +0000"  >&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;   Example:

   To create a new &quot;jukebox&quot; resource, the client might send the
   following:

      POST /restconf/data HTTP/1.1
      Host: example.com
      Content-Type: application/yang-data+json

      { &quot;example-jukebox:jukebox&quot; : {} }&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/html/rfc8040#page-46&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://datatracker.ietf.org/doc/html/rfc8040#page-46&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="72403" author="ivanhrasko" created="Thu, 13 Jul 2023 07:23:06 +0000"  >&lt;p&gt;&lt;a href=&quot;https://datatracker.ietf.org/doc/html/rfc8040#appendix-B.2.1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://datatracker.ietf.org/doc/html/rfc8040#appendix-B.2.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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i045gn:</customfieldvalue>

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