<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:53:23 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-484] Unable to compile pattern defined in module when using Unicode blocks</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-484</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Given Yang snippet:&lt;/p&gt;

&lt;p&gt;type string { &lt;br/&gt;
    pattern &quot;(\p&lt;/p&gt;
{IsBasicLatin}|\p{IsLatin-1Supplement})*&quot;; &lt;br/&gt;
} &lt;br/&gt;
&lt;br/&gt;
 evokes:&lt;br/&gt;
&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;WARNING&amp;#93;&lt;/span&gt; Unable to compile pattern defined in module &amp;lt;name&amp;gt; at line &amp;lt;line&amp;gt;. Error message: Unknown character script name {BasicLatin} near index &amp;lt;column&amp;gt;&lt;br/&gt;
^(\p{IsBasicLatin}
&lt;p&gt;|\p&lt;/p&gt;
{IsLatin-1Supplement}
&lt;p&gt;)*$&lt;/p&gt;

&lt;p&gt;Poblem comes from the fact that in the XML Schema specification,&lt;br/&gt;
Unicode character blocks are matched by &quot;\p&lt;/p&gt;
{Is...}
&lt;p&gt;&quot; &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;,&lt;br/&gt;
whereas Java expects &quot;\p&lt;/p&gt;
{In...}
&lt;p&gt;&quot; &lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt;. &lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt; &lt;a href=&quot;http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#nt-IsBlock&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#nt-IsBlock&lt;/a&gt;&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;2&amp;#93;&lt;/span&gt; &lt;a href=&quot;http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This needs to be fixed.&lt;/p&gt;

&lt;p&gt;For time being, these are two possible workarounds:&lt;/p&gt;

&lt;p&gt;1)&lt;br/&gt;
type string { &lt;br/&gt;
    pattern &quot;(\p&lt;/p&gt;
{InBasicLatin}
&lt;p&gt;|\p&lt;/p&gt;
{InLatin-1Supplement}
&lt;p&gt;)*&lt;br/&gt;
}&lt;/p&gt;

&lt;p&gt;2)&lt;br/&gt;
type string { &lt;br/&gt;
    pattern &quot;(&lt;span class=&quot;error&quot;&gt;&amp;#91;\x00-\x7F&amp;#93;&lt;/span&gt;|&lt;span class=&quot;error&quot;&gt;&amp;#91;\x80-\xFF&amp;#93;&lt;/span&gt;)*&lt;br/&gt;
}&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="22904">YANGTOOLS-484</key>
            <summary>Unable to compile pattern defined in module when using Unicode blocks</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="ifoltin">Igor Foltin</assignee>
                                    <reporter username="martin.ciglan">Martin Ciglan</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Aug 2015 12:06:27 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:35 +0000</updated>
                            <resolved>Fri, 18 Dec 2015 08:23:01 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="43455" author="ifoltin" created="Thu, 27 Aug 2015 12:03:02 +0000"  >&lt;p&gt;Fix pushed:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://git.opendaylight.org/gerrit/#/c/26080/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/#/c/26080/&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>4079</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=4079]]></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="10351"><![CDATA[Beryllium-M5]]></customfieldvalue>

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

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