<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:15:46 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>[NETCONF-737] ApiDoc generator fails to parse string types with pattern containing {isBasicLatin}</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-737</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;example typedef with failing pattern:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
    typedef DisplayString {
        type string {
            length &lt;span class=&quot;code-quote&quot;&gt;&quot;0..255&quot;&lt;/span&gt;;
            pattern &lt;span class=&quot;code-quote&quot;&gt;&quot;((\p{IsBasicLatin}{0,255}))&quot;&lt;/span&gt;;
        }
    }
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;parsing this type fails with IllegalArgumentException and stops further processing of api docs.&lt;/p&gt;</description>
                <environment></environment>
        <key id="33479">NETCONF-737</key>
            <summary>ApiDoc generator fails to parse string types with pattern containing {isBasicLatin}</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</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="mcmarada">Michal Cmarada</assignee>
                                    <reporter username="mcmarada">Michal Cmarada</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Oct 2020 10:42:27 +0000</created>
                <updated>Thu, 5 Nov 2020 13:29:48 +0000</updated>
                            <resolved>Thu, 5 Nov 2020 13:29:48 +0000</resolved>
                                                    <fixVersion>1.13.0</fixVersion>
                    <fixVersion>Magnesium SR3</fixVersion>
                    <fixVersion>Aluminium SR2</fixVersion>
                    <fixVersion>Sodium SR4.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="68731" author="rovarga" created="Wed, 28 Oct 2020 11:00:47 +0000"  >&lt;p&gt;Hmm, so it&apos;s Generex not grokking the pattern. Is this because it does not really support java.lang.Pattern (i.e. it has a similar, but different RegEx language) or because it is buggy?&lt;/p&gt;</comment>
                            <comment id="68733" author="mcmarada" created="Thu, 29 Oct 2020 08:59:19 +0000"  >&lt;p&gt;even with replacing basic sets with propper replacement character sets like&#160;&quot;(&lt;sup&gt;(&lt;a href=&quot;file://u0370-//u03FF&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;\\u0370-\\u03FF&lt;/a&gt;{5,255})$)&quot; for &quot;(&lt;/sup&gt;(&lt;br class=&quot;atl-forced-newline&quot; /&gt;p{IsGreek}&lt;/p&gt;
{5,255}
&lt;p&gt;)$) generex still fails to generate propper example. seems it cannot handle these types of unicode characters. however java regex pattern matching works so this seems to be a problem of generex implementation. I tried also&#160;rgxgen to generate example strings but it fails on unicode characters as well.&lt;/p&gt;</comment>
                            <comment id="68734" author="rovarga" created="Thu, 29 Oct 2020 09:42:01 +0000"  >&lt;p&gt;Right, so let&apos;s just catch the exception of it failing, log it and emit APIDOC without an example. That is better tna failing completely.&lt;/p&gt;</comment>
                            <comment id="68735" author="mcmarada" created="Thu, 29 Oct 2020 10:19:57 +0000"  >&lt;p&gt;ok, actually its the Automaton (&lt;a href=&quot;https://www.brics.dk/automaton/)&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.brics.dk/automaton/)&lt;/a&gt;&#160;that is failing inside Generex. it can handle only basic character ranges like &lt;span class=&quot;error&quot;&gt;&amp;#91;a-f&amp;#93;&lt;/span&gt; nothing more complex not even basic latin works &lt;span class=&quot;error&quot;&gt;&amp;#91;0x00-0x7f&amp;#93;&lt;/span&gt;. internaly it translates into its own RegExp and cannot determine correct range. The internal regex looks something like this &quot;((((\x|\0)|&lt;span class=&quot;error&quot;&gt;&amp;#91;\0-\x&amp;#93;&lt;/span&gt;)|\7)|\F)&quot; which is completely useless for our case.&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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03vpr:</customfieldvalue>

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