<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/basn/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/basn/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 16 Jul 2008 11:01:16 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/basn/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Compiling nested structures</title><link>https://sourceforge.net/p/basn/support-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The python tool that creates the Java classes doesn't seem to support nested structures like the following:&lt;/p&gt;
&lt;p&gt;Foo ::= SEQUENCE {&lt;br /&gt;
foo INTEGER,&lt;br /&gt;
foobar SEQUENCE {&lt;br /&gt;
foobar1 REAL,&lt;br /&gt;
foobar2 MyType&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;The fault seems to be in the RE_CLASSNAME regular expression, which doesn't match sequences like the previous one.&lt;/p&gt;
&lt;p&gt;Is it equivalent, in terms of BER coding, if I substitute the previous sequence with:&lt;/p&gt;
&lt;p&gt;FooBar ::= SEQUENCE {&lt;br /&gt;
foobar1 REAL,&lt;br /&gt;
foobar2 MyType&lt;br /&gt;
}&lt;br /&gt;
Foo ::= SEQUENCE {&lt;br /&gt;
foo INTEGER,&lt;br /&gt;
foobar Foobar&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Or would the BER encoding be incompatible with the decoding based on the first example?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">francescor82</dc:creator><pubDate>Wed, 16 Jul 2008 11:01:16 -0000</pubDate><guid>https://sourceforge.net203c476ed61d3e59fda4ed275d3568975897b22b</guid></item></channel></rss>