Bug? grc xml file throws error when <param> elements out of order

I’m getting the following error when opening gnuradio-companion on my
hand-coded blocks:

ERROR:VALID:DTD_NOT_PCDATA: Element block was declared #PCDATA but
contains non text nodes

I’m seeing it when I do the following in the xml file:

vlen vlen int 128

When I correct the block to look like this:

vlen vlen 128 int

The error goes away. Is this expected behavior? The only difference
is how I order the tags inside the param blocks.

Jared

Hi Jared,

this is how the XML validation works, yes. It’s probably just an
artifact of whatever XML parser we’re using, but we’ve all gotten used
to it.

MB

On Fri, Oct 04, 2013 at 12:46:54PM -0600, Jared C. wrote:

<key>vlen</key>
<type>int</type>

https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs