[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Bug? grc xml file throws error when <DEFANGED_par
From: |
Martin Braun (CEL) |
Subject: |
Re: [Discuss-gnuradio] Bug? grc xml file throws error when <DEFANGED_param> elements out of order |
Date: |
Fri, 4 Oct 2013 22:22:56 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 Clements wrote:
> 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:
>
> <DEFANGED_param>
> <name>vlen</name>
> <key>vlen</key>
> <type>int</type>
> <value>128</value>
> </DEFANGED_param>
>
> When I correct the block to look like this:
>
> <DEFANGED_param>
> <name>vlen</name>
> <key>vlen</key>
> <value>128</value>
> <type>int</type>
> </DEFANGED_param>
>
> The error goes away. Is this expected behavior? The only difference
> is how I order the tags inside the param blocks.
>
> Jared
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)
Dipl.-Ing. Martin Braun
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
pgpudHrHRU_6W.pgp
Description: PGP signature