<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:12 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-752] Extension argument is being restricted to identifier</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-752</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;We are testing with a SNAPSHOT of the Carbon release, to evaluate the YANG 1.1 support.&lt;/p&gt;

&lt;p&gt;However, I think we found a regression compared to the previous release.&lt;/p&gt;

&lt;p&gt;One of the models of the device we are managing contains the following use of an extension statement:&lt;/p&gt;

&lt;p&gt;  tailf:annotate &quot;/if:interfaces-state/if:interface/bbf-fastdsl:line/bbf-fast:line/bbf-fast:performance/bbf-fast:intervals-15min/bbf-fast:current&quot; &lt;/p&gt;
{
    tailf:callpoint &quot;fast-line-current-15-min-counter&quot;;
  }

&lt;p&gt;This was parsed successfully in Boron, but is now flagged in Carbon with:&lt;/p&gt;

&lt;p&gt;java.lang.IllegalArgumentException: Parameter &apos;localName&apos;:&apos;/if:interfaces-state/if:interface/bbf-fastdsl:line/bbf-fast:line/bbf-fast:performance/bbf-fast:intervals-15min/bbf-fast:current&apos; contains illegal character &apos;:&apos;&lt;br/&gt;
	at org.opendaylight.yangtools.yang.common.QName.checkLocalName(QName.java:104)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.common.QName.&amp;lt;init&amp;gt;(QName.java:82)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.common.QName.create(QName.java:235)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.stmt.rfc6020.Utils.qNameFromArgument(Utils.java:486)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.stmt.reactor.SubstatementContext.createSchemaPath(SubstatementContext.java:255)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.stmt.reactor.SubstatementContext.getSchemaPath(SubstatementContext.java:281)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective.UnknownEffectiveStatementImpl.&amp;lt;init&amp;gt;(UnknownEffectiveStatementImpl.java:42)&lt;br/&gt;
	at org.opendaylight.yangtools.yang.parser.stmt.rfc6020.UnknownStatementImpl$Definition.createEffective(UnknownStatementImpl.java:46)&lt;/p&gt;


&lt;p&gt;It looks like ODL expects only an identifier here, but according to me that is not in line with the RFC, so this would be a bug in Carbon.   Both the RFCs of YANG 1.0 and YANG 1.1 are saying:&lt;/p&gt;

&lt;p&gt;   ;; represents the usage of an extension&lt;br/&gt;
   unknown-statement   = prefix &quot;:&quot; identifier &lt;span class=&quot;error&quot;&gt;&amp;#91;sep string&amp;#93;&lt;/span&gt; optsep&lt;br/&gt;
                         (&quot;;&quot; /&lt;br/&gt;
                          &quot;&lt;/p&gt;
{&quot; optsep
                              *((yang-stmt / unknown-statement) optsep)
                           &quot;}
&lt;p&gt;&quot;) stmtsep&lt;/p&gt;

&lt;p&gt;The &lt;span class=&quot;error&quot;&gt;&amp;#91;sep string&amp;#93;&lt;/span&gt; indicates according to me that the argument to the extension can be any string, so the model of our device is correct.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23172">YANGTOOLS-752</key>
            <summary>Extension argument is being restricted to identifier</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="10000">Done</resolution>
                                        <assignee username="pkajsa">Peter Kajsa</assignee>
                                    <reporter username="verthezpw">Peter Verthez</reporter>
                        <labels>
                    </labels>
                <created>Tue, 28 Feb 2017 11:55:59 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:57 +0000</updated>
                            <resolved>Wed, 8 Mar 2017 13:30:15 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="44371" author="pkajsa" created="Wed, 8 Mar 2017 12:52:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/52991/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/52991/&lt;/a&gt;&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>7865</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=7865]]></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="10336"><![CDATA[Carbon-RC0]]></customfieldvalue>

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

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