[Gretl-devel] yet another package saving bug (2)

Allin Cottrell cottrell at wfu.edu
Tue Mar 20 09:03:36 EDT 2007


On Tue, 20 Mar 2007, Riccardo (Jack) Lucchetti wrote:

> Another issue: I was trying to update the code for the HEGY test 
> I wrote a few months ago. In the new version, I used a "matrix 
> *" parameter, which is not contemplated by the DTD, so the 
> upload failed.

Fixed, but this is a little tricky.  I have given "pointer" 
parameter types the following names for the purposes of XML 
storage and DTD validation:

scalarref
seriesref
matrixref

If you define a function with the usual form, e.g. "matrix *M",
the type will automatically be written as "matrixref" in the
(XML) .gfn file.  The read-back for this has required a small
change in gretl_func.c.  This means that new-style .gfn files
using "*" parameters will require gretl 1.6.2.

Allin.


More information about the Gretl-devel mailing list