I have got this error when trying to compile xmls.lisp in ECL, it says: "Syntax error in proclamation (ftype function element)". This error evidently corresponds to this string in the code: (declaim (ftype function element)) which is forward declaration for content rule, as the comment says.