Made a strange discovery today: when you create a .xml file to use your gnuradio block with grc, it MUST have a <callback></callback> field, even an empty one. Otherwise it gets really pissed of:

Warning: Block validation failed:
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:2:0:ERROR:VALID:DTD_NOT_PCDATA: Element block was declared #PCDATA but contains non text nodes
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:4:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element key
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:5:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element category
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:6:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element import
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:7:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element make
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:8:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element callback
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:9:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element param
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:11:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element key
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:12:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element value
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:13:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element type
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:15:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element source
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:17:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element type
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:18:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element vlen
/home/azimout/.grc_gnuradio/rds_data_encoder.xml:20:0:ERROR:VALID:DTD_UNKNOWN_ELEM: No declaration for element doc
Ignoring: /home/azimout/.grc_gnuradio/rds_data_encoder.xml

Advertisements