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
> Discuss-gnuradio@gnu.org
> 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

Attachment: pgpTrdAyr4Kdb.pgp
Description: PGP signature

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to