<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:36 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-890] XML parsing issue for XML configuration via netconf/restconf in MPLS model</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-890</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;When I tried to configure MPLS using netconf(netconf-message.txt) or restconf(restconf-xml.txt) in XML format I am getting error responses( netconf-response.txt or restconf-xml-response.txt)&lt;/p&gt;

&lt;p&gt;If I configure the same using restconf with json (restconf-json.txt) it works. Seems there is a problem only when XML format is parsed. When configured using restcon+json I am able to read back the configuration with both restconf or netconf(netconf-get-config-after-restconf-json-configuration.txt).&lt;/p&gt;

&lt;p&gt;I compared the netconf output of get-config after writing the json data using restconf with data that I was trying to write using netconf and they look the same. the issue seems to be happening only when the data are written using edit-config in netconf.&lt;/p&gt;

&lt;p&gt;I suspect that the issue is with outgoing-labels which is also a container and a list in ietf-mpls-static model (&lt;a href=&quot;https://gerrit.fd.io/r/gitweb?p=hc2vpp.git;a=blob;f=mpls/api/src/main/yang/hc2vpp-ietf-mpls-static@2017-07-02.yang;h=9da4bb942f040d57ffffacd2ced930105e6a2e29;hb=refs/heads/master#l185)&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://gerrit.fd.io/r/gitweb?p=hc2vpp.git;a=blob;f=mpls/api/src/main/yang/hc2vpp-ietf-mpls-static@2017-07-02.yang;h=9da4bb942f040d57ffffacd2ced930105e6a2e29;hb=refs/heads/master#l185)&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When I try to configure it without outgoing-labels everything works. Probably there are naming conflicts when the same name is used for list and container that encapsulates the list.&lt;/p&gt;

&lt;p&gt;I am attaching honeycomb log file (hc.log) with stack trace.&lt;/p&gt;</description>
                <environment></environment>
        <key id="30284">YANGTOOLS-890</key>
            <summary>XML parsing issue for XML configuration via netconf/restconf in MPLS model</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="mcmarada">Michal Cmarada</assignee>
                                    <reporter username="mcmarada">Michal Cmarada</reporter>
                        <labels>
                    </labels>
                <created>Wed, 4 Jul 2018 14:30:41 +0000</created>
                <updated>Tue, 31 Jul 2018 11:48:38 +0000</updated>
                            <resolved>Fri, 13 Jul 2018 18:25:53 +0000</resolved>
                                                    <fixVersion>2.0.8</fixVersion>
                    <fixVersion>2.0.6.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <attachments>
                            <attachment id="14750" name="hc.log" size="14113" author="mcmarada" created="Wed, 4 Jul 2018 14:27:07 +0000"/>
                            <attachment id="14749" name="netconf-get-config-after-restconf-json-configuration.txt" size="1232" author="mcmarada" created="Wed, 4 Jul 2018 14:27:07 +0000"/>
                            <attachment id="14748" name="netconf-message.txt" size="3738" author="mcmarada" created="Wed, 4 Jul 2018 14:27:07 +0000"/>
                            <attachment id="14747" name="netconf-response.txt" size="433" author="mcmarada" created="Wed, 4 Jul 2018 14:27:07 +0000"/>
                            <attachment id="14746" name="restconf-json.txt" size="778" author="mcmarada" created="Wed, 4 Jul 2018 14:27:07 +0000"/>
                            <attachment id="14744" name="restconf-xml-response.txt" size="233" author="mcmarada" created="Wed, 4 Jul 2018 14:27:07 +0000"/>
                            <attachment id="14745" name="restconf-xml.txt" size="1158" author="mcmarada" created="Wed, 4 Jul 2018 14:27:07 +0000"/>
                    </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|i03ghj:</customfieldvalue>

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