On Thu, Feb 14, 2002 at 02:48:02PM -0500, Peter Eisentraut wrote:
> <programlisting><![RCDATA[&test;]]></programlisting>

Thanks much, it happens to be sufficient for my purpose.

However, that is not a generic solution.  It expands (or attempts to
expand) anything that looks an entity reference.

It happens that in my case, the simplistic sh+C+Makefile code makes a
use of "&" that does not conflict with the processor ("&&" and ">&2"
hopefully survive processing), but I verified that including a valid
entity reference in such a file causes its expansion.

And I suppose that C address operator ("&ptr", or even "a=&ptr;") will
cause problems to many, not to mention inclusion of SGML/XML text with
this mechanism.

Regards,
-- 
Yann Dirson <[EMAIL PROTECTED]>                 http://www.alcove.com/
Technical support manager                Responsable de l'assistance technique
Senior Free-Software Consultant          Consultant senior en Logiciels Libres
Debian GNU/Linux developper <[EMAIL PROTECTED]>

Reply via email to