<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:55:13 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-1108] Leaf of type union containing identity-ref is not correctly transformed to XML</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1108</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;If some leaf has type union, which is containing also identity-ref, NormalizedNode with filled this leaf with some identity is not correctly rendered to XML.&lt;/p&gt;

&lt;p&gt;E.g.:&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;
&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;module foo {
 &#160;namespace &quot;foo-namespace&quot;;
 &#160;prefix &quot;f&quot;;
&#160; identity ident-base;
 &#160;identity ident-one {
 &#160;&#160; base ident-base;
  }

&#160; ...
&#160; leaf union-identityref-leaf {
&#160;&#160;&#160; type union-type;
&#160; }

&#160; leaf identityref-leaf {
 &#160;&#160; type identityref {
&#160;&#160;&#160;&#160;&#160; base ident-base;
&#160;&#160;&#160; }

&#160; }

&#160; ...
}&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;&#160;&lt;/p&gt;

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

&lt;p&gt;If both leaves will have set as value identity ident-one, the XML converted output will be following:&lt;/p&gt;

&lt;p&gt;&amp;lt;identityref-leaf&amp;gt;ident-one&amp;lt;/identityref-leaf&amp;gt;&lt;br/&gt;
 &amp;lt;union-identityref-leaf&amp;gt;(foo-namespace)ident-one&amp;lt;/union-identityref-leaf&amp;gt;&lt;/p&gt;

&lt;p&gt;The leaf&#160;identityref-leaf is converted correctly, but&#160;union-identityref-leaf with union has string QName included, which will not be converted using opposite direction.&lt;/p&gt;</description>
                <environment></environment>
        <key id="32720">YANGTOOLS-1108</key>
            <summary>Leaf of type union containing identity-ref is not correctly transformed to XML</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="rovarga">Robert Varga</assignee>
                                    <reporter username="apuchyova">Anna Benc&#250;rov&#225;</reporter>
                        <labels>
                    </labels>
                <created>Wed, 3 Jun 2020 16:26:42 +0000</created>
                <updated>Thu, 4 Jun 2020 16:09:26 +0000</updated>
                            <resolved>Thu, 4 Jun 2020 16:09:26 +0000</resolved>
                                                    <fixVersion>3.0.12</fixVersion>
                    <fixVersion>5.0.3</fixVersion>
                    <fixVersion>4.0.10</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="68176" author="rovarga" created="Thu, 4 Jun 2020 09:42:24 +0000"  >&lt;p&gt;Yeah, this is caused by XML writeout path going in the completely wrong legacy direction with codecs.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10300">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="32724">YANGTOOLS-1109</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="32725">YANGTOOLS-1110</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <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|i03ssv:</customfieldvalue>

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