<!-- 
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-893] YANG parser does not allow newline in unique statement</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-893</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;See the attached model.&#160;&#160; This model contains a unique statement with a newline:&lt;/p&gt;

&lt;p&gt;unique &quot;listkey1&lt;br/&gt;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; listkey2&quot;;&lt;/p&gt;

&lt;p&gt;This produces a parser error in 2.0.7 (it was working in 1.2.3):&lt;/p&gt;

&lt;p&gt;Caused by: org.opendaylight.yangtools.yang.parser.spi.source.SourceException: String &apos;listkey1&lt;br/&gt;
listkey2&apos; is not a valid identifier &lt;span class=&quot;error&quot;&gt;&amp;#91;at /home/verthezp/logs/unique/testmodule.yang:9:4&amp;#93;&lt;/span&gt;&lt;br/&gt;
 at org.opendaylight.yangtools.yang.parser.spi.source.SourceException.throwIf(SourceException.java:99)&lt;br/&gt;
 at org.opendaylight.yangtools.yang.parser.spi.meta.StmtContextUtils.checkIdentifierString(StmtContextUtils.java:570)&lt;br/&gt;
 at org.opendaylight.yangtools.yang.parser.spi.meta.StmtContextUtils.parseNodeIdentifier(StmtContextUtils.java:538)&lt;br/&gt;
 at org.opendaylight.yangtools.yang.parser.rfc7950.stmt.ArgumentUtils.nodeIdentifierFromPath(ArgumentUtils.java:132)&lt;br/&gt;
 ... 43 more&lt;/p&gt;

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

&lt;p&gt;According to what I see in the RFC this should be allowed: see the &quot;unique-arg&quot; and &quot;sep&quot; definitions in &lt;a href=&quot;https://tools.ietf.org/html/rfc6020#section-12&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://tools.ietf.org/html/rfc6020#section-12&lt;/a&gt; .&lt;/p&gt;</description>
                <environment></environment>
        <key id="30584">YANGTOOLS-893</key>
            <summary>YANG parser does not allow newline in unique statement</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="verthezpw">Peter Verthez</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Aug 2018 10:55:28 +0000</created>
                <updated>Thu, 16 Aug 2018 14:28:37 +0000</updated>
                            <resolved>Thu, 16 Aug 2018 14:28:37 +0000</resolved>
                                    <version>2.0.7</version>
                                    <fixVersion>2.1.0</fixVersion>
                    <fixVersion>2.0.11</fixVersion>
                    <fixVersion>2.0.6.2</fixVersion>
                                    <component>parser</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="64656" author="rovarga" created="Thu, 16 Aug 2018 12:57:05 +0000"  >&lt;p&gt;The same problem occurs with horizontal tabs, added test cases to cover them.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="14913" name="unique.zip" size="494" author="verthezpw" created="Tue, 14 Aug 2018 10:55:05 +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|i03hsv:</customfieldvalue>

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