discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] As if pounding my head against the wall of C++ we


From: Josh Blum
Subject: Re: [Discuss-gnuradio] As if pounding my head against the wall of C++ weren't enough, this apparently innocent bit of XML fails block validation
Date: Thu, 13 Jun 2013 20:20:43 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6

Well, in the dtd, value should be before type

<!ELEMENT param (name, key, value?, type, hide?, option*)>

On 06/13/2013 08:15 PM, Marcus D. Leech wrote:
> Here's the XML:
> 
> <?xml version="1.0"?>
> <block>
> <name>Oblivious Slicer</name>
> <key>ra_blocks_slicer</key>
> <category>RA Blocks</category>
> <import>import ra_blocks</import>
> <make>ra_blocks.slicer($decim, $thresh)</make>
> <param>
> <name>Samples</name>
> <key>decim</key>
> <type>int</type>
> <value>100</value>
> </param>
> <param>
> <name>Threshold</name>
> <key>thresh</key>
> <type>float</type>
> <value>1.5</value>
> </param>
> <sink>
> <name>in</name>
> <type>float</type>
> </sink>
> <source>
> <name>out</name>
> <type>float</type>
> </source>
> </block>
> 
> 
> GO ahead, try it.  Explosions.
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]