<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:55 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>[CONTROLLER-1197] Restconf RPC: XML sub-element namespace error when top-level namespace is specified</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-1197</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://wiki.opendaylight.org/view/BGP_LS_PCEP:Programmer_Guide#Creating_LSP_2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://wiki.opendaylight.org/view/BGP_LS_PCEP:Programmer_Guide#Creating_LSP_2&lt;/a&gt;&lt;br/&gt;
specifies the new way of add-lsp using XML input, the change from Helium is that&lt;br/&gt;
top-level &amp;lt;input&amp;gt; needs to have namespace specified explicitly (required in Lithium).&lt;/p&gt;

&lt;p&gt;This format looks like it should also work on Helium, but it leads to an error on sub-element &quot;lsp&quot;:&lt;br/&gt;
&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&amp;gt;&lt;br/&gt;
&amp;lt;errors xmlns=&quot;urn:ietf:params:xml:ns:yang:ietf-restconf&quot;&amp;gt;&lt;br/&gt;
    &amp;lt;error&amp;gt;&lt;br/&gt;
        &amp;lt;error-type&amp;gt;application&amp;lt;/error-type&amp;gt;&lt;br/&gt;
        &amp;lt;error-tag&amp;gt;unknown-element&amp;lt;/error-tag&amp;gt;&lt;br/&gt;
        &amp;lt;error-message&amp;gt;Schema node &quot;lsp&quot; was not found in module.&amp;lt;/error-message&amp;gt;&lt;br/&gt;
    &amp;lt;/error&amp;gt;&lt;br/&gt;
&amp;lt;/errors&amp;gt;&lt;/p&gt;

&lt;p&gt;Analogous error is present also in master branch, but Helium-SR3 has deadline sooner.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="25751">CONTROLLER-1197</key>
            <summary>Restconf RPC: XML sub-element namespace error when top-level namespace is specified</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="vrpolak">Vratko Polak</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Mar 2015 19:21:49 +0000</created>
                <updated>Thu, 19 Oct 2017 21:26:35 +0000</updated>
                            <resolved>Thu, 14 May 2015 14:29:04 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>restconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="50232" author="tony.tkacik@gmail.com" created="Thu, 12 Mar 2015 20:19:51 +0000"  >&lt;p&gt;Is the lsp element augmented to the input or it is from pcep model?&lt;/p&gt;</comment>
                            <comment id="50233" author="vrpolak" created="Fri, 13 Mar 2015 08:54:30 +0000"  >&lt;p&gt;(In reply to Tony Tkacik from comment #1)&lt;br/&gt;
&amp;gt; Is the lsp element augmented to the input or it is from pcep model?&lt;/p&gt;

&lt;p&gt;Augmented. Here are top-level and sub-level elements used:&lt;/p&gt;

&lt;p&gt;Original Helium guide (works correctly):&lt;br/&gt;
&amp;lt;input&amp;gt;&lt;br/&gt;
 &amp;lt;arguments&amp;gt;&lt;br/&gt;
  &amp;lt;lsp xmlns:stateful=&quot;urn:opendaylight:params:xml:ns:yang:pcep:ietf:stateful&quot;&amp;gt;&lt;/p&gt;

&lt;p&gt;Current Lithium guide (this bug):&lt;br/&gt;
&amp;lt;input xmlns=&quot;urn:opendaylight:params:xml:ns:yang:topology:pcep&quot;&amp;gt;&lt;br/&gt;
 &amp;lt;arguments&amp;gt;&lt;br/&gt;
  &amp;lt;lsp xmlns:stateful=&quot;urn:opendaylight:params:xml:ns:yang:pcep:ietf:stateful&quot;&amp;gt;&lt;/p&gt;

&lt;p&gt;And todays news: it works again when :stateful after xmlns is removed (future Lithium guide I guess):&lt;br/&gt;
&amp;lt;input xmlns=&quot;urn:opendaylight:params:xml:ns:yang:topology:pcep&quot;&amp;gt;&lt;br/&gt;
 &amp;lt;arguments&amp;gt;&lt;br/&gt;
  &amp;lt;lsp xmlns=&quot;urn:opendaylight:params:xml:ns:yang:pcep:ietf:stateful&quot;&amp;gt;&lt;/p&gt;

&lt;p&gt;Strange thing is that there is also another sub-element (same level as arguments) which does not have problem with namespace alias:&lt;br/&gt;
 &amp;lt;network-topology-ref xmlns:topo=&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&amp;gt;/topo:network-topology/topo:topology&lt;span class=&quot;error&quot;&gt;&amp;#91;topo:topology-id=&amp;quot;pcep-topology&amp;quot;&amp;#93;&lt;/span&gt;&amp;lt;/network-topology-ref&amp;gt;&lt;/p&gt;

&lt;p&gt;As the &quot;future Lithium guide&quot; way works also for master branch builds, I am decreasing importance to Minor.&lt;/p&gt;</comment>
                            <comment id="50234" author="tony.tkacik@gmail.com" created="Tue, 12 May 2015 13:57:52 +0000"  >&lt;p&gt;Namespace aliasing is not problem:&lt;/p&gt;

&lt;p&gt;&amp;lt;network-topology-ref xmlns:topo=&quot;urn:TBD:params:xml:ns:yang:network-topology&quot;&amp;gt;/topo:network-topology/topo:topology&lt;span class=&quot;error&quot;&gt;&amp;#91;topo:topology-id=&amp;quot;pcep-topology&amp;quot;&amp;#93;&lt;/span&gt;&amp;lt;/network-topology-ref&amp;gt;&lt;/p&gt;

&lt;p&gt;network-topology-ref is from default namespace of parent - urn:opendaylight:params:xml:ns:yang:topology:pcep&lt;/p&gt;


&lt;p&gt;xmlns:topo=&quot;urn:TBD:params:xml:ns:yang:network-topology&quot; is only used in instance identifier and not on XML Elements.&lt;/p&gt;</comment>
                            <comment id="50235" author="vrpolak" created="Thu, 14 May 2015 14:12:05 +0000"  >&lt;p&gt;So, the bug was in the previous guide,&lt;br/&gt;
&amp;lt;lsp xmlns:stateful=&quot;urn:opendaylight:params:xml:ns:yang:pcep:ietf:stateful&quot;&amp;gt;&lt;br/&gt;
defined namespace alias, but it did not tell restconf that &quot;lsp&quot; is not in namespace &quot;urn:opendaylight:params:xml:ns:yang:topology:pcep&quot;, right?&lt;/p&gt;</comment>
                            <comment id="50236" author="tony.tkacik@gmail.com" created="Thu, 14 May 2015 14:29:04 +0000"  >&lt;p&gt;Seems so&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>2833</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=2833]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

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

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