<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:37 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-900] Problem with duplicate elements with different namespace</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-900</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;&#160; &#160;Good morning,&lt;/p&gt;

&lt;p&gt;We are doing some test with Opendaylight Oxigen SR3, yangtools version 2.0.6.1&lt;/p&gt;

&lt;p&gt;We are trying to get the network topology with real routers.&lt;/p&gt;

&lt;p&gt;We are testing with&#160;Cisco ASR9k 9001&#160;&lt;/p&gt;

&lt;p&gt;When we try to get the topology with the following request&#160;http://&amp;lt;ip&amp;gt;:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/cisco/yang-ext:mount/&lt;/p&gt;

&lt;p&gt;we obtain an exception:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;applicationoperation-failedread execution failedjava.lang.IllegalArgumentException: Failed to parse data response &lt;span class=&quot;error&quot;&gt;&amp;#91;data: null&amp;#93;&lt;/span&gt; at org.opendaylight.netconf.sal.connect.netconf.schema.mapping.NetconfMessageTransformer.toRpcResult(NetconfMessageTransformer.java:197) at org.opendaylight.netconf.sal.connect.netconf.schema.mapping.NetconfMessageTransformer.toRpcResult(NetconfMessageTransformer.java:58) at org.opendaylight.netconf.sal.connect.netconf.sal.NetconfDeviceRpc.lambda$invokeRpc$1(NetconfDeviceRpc.java:65) at com.google.common.util.concurrent.AbstractTransformFuture$TransformFuture.doTransform(AbstractTransformFuture.java:231) at com.google.common.util.concurrent.AbstractTransformFuture$TransformFuture.doTransform(AbstractTransformFuture.java:221) at com.google.common.util.concurrent.AbstractTransformFuture.run(AbstractTransformFuture.java:112) at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:398) at com.google.common.util.concurrent.AbstractFuture.executeListener(AbstractFuture.java:1015) at com.google.common.util.concurrent.AbstractFuture.complete(AbstractFuture.java:868) at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:691) at org.opendaylight.netconf.sal.connect.netconf.listener.UncancellableFuture.set(UncancellableFuture.java:44) at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.processMessage(NetconfDeviceCommunicator.java:335) at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:267) at org.opendaylight.netconf.sal.connect.netconf.listener.NetconfDeviceCommunicator.onMessage(NetconfDeviceCommunicator.java:48) at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:65) at org.opendaylight.netconf.nettyutil.AbstractNetconfSession.handleMessage(AbstractNetconfSession.java:35) at org.opendaylight.protocol.framework.AbstractProtocolSession.channelRead0(AbstractProtocolSession.java:53) at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340) at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:38) at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:353) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:463) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.IllegalStateException: Duplicate element &quot;aaa&quot; in XML input at: line -1 column -1 at org.opendaylight.yangtools.yang.data.codec.xml.XmlParserStream.read(XmlParserStream.java:350) at org.opendaylight.yangtools.yang.data.codec.xml.XmlParserStream.parse(XmlParserStream.java:184) at org.opendaylight.yangtools.yang.data.codec.xml.XmlParserStream.traverse(XmlParserStream.java:214) at org.opendaylight.netconf.sal.connect.netconf.schema.mapping.NetconfMessageTransformer.toRpcResult(NetconfMessageTransformer.java:194) ... 36 more&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="30680">YANGTOOLS-900</key>
            <summary>Problem with duplicate elements with different namespace</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</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="illoret">Isabel Lloret</assignee>
                                    <reporter username="illoret">Isabel Lloret</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Sep 2018 06:34:42 +0000</created>
                <updated>Wed, 5 Sep 2018 13:00:46 +0000</updated>
                            <resolved>Wed, 5 Sep 2018 13:00:46 +0000</resolved>
                                    <version>2.0.10</version>
                    <version>2.0.6.1</version>
                                    <fixVersion>2.1.0</fixVersion>
                    <fixVersion>2.0.11</fixVersion>
                    <fixVersion>2.0.6.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="64870" author="rovarga" created="Tue, 4 Sep 2018 08:11:15 +0000"  >&lt;p&gt;Please provide the XML message (available with NETCONF logging set to trace) and the version of IOS XR software.&lt;/p&gt;</comment>
                            <comment id="64875" author="illoret" created="Tue, 4 Sep 2018 10:24:17 +0000"  >&lt;p&gt;This is the IOS version: Cisco IOS XR Software, Version 6.2.3&lt;span class=&quot;error&quot;&gt;&amp;#91;Default&amp;#93;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;I copy the duplicated elements from the log:&lt;/p&gt;

&lt;p&gt;&amp;lt;data&amp;gt;&lt;br/&gt;
  &amp;lt;aaa xmlns=&quot;http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-lib-cfg&quot;&amp;gt;&lt;br/&gt;
   &amp;lt;radius xmlns=&quot;http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-protocol-radius-cfg&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;dynamic-authorization&amp;gt;&lt;br/&gt;
........&lt;br/&gt;
&amp;lt;/aaa&amp;gt;&lt;br/&gt;
  &amp;lt;aaa xmlns=&quot;http://cisco.com/ns/yang/Cisco-IOS-XR-aaa-locald-admin-cfg&quot;&amp;gt;&lt;br/&gt;
   &amp;lt;usernames&amp;gt;&lt;br/&gt;
    &amp;lt;username&amp;gt;&lt;br/&gt;
     &amp;lt;name&amp;gt;root&amp;lt;/name&amp;gt;&lt;br/&gt;
.......&lt;/p&gt;</comment>
                            <comment id="64876" author="rovarga" created="Tue, 4 Sep 2018 12:03:51 +0000"  >&lt;p&gt;It looks like the namesakes has been incorrectly ported from JSON. In JSON the object name contains the namespace as a prefix, the local name does not. Namesakes should be Set&amp;lt;Entry&amp;lt;String, String&amp;gt;&amp;gt;, with the key being namespace and value being the local name.&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|i03ie7:</customfieldvalue>

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