From: Ernst de H. <zn...@Fr...> - 2002-12-09 12:41:11
|
> Your proposal of setEscaping() and isEscaping() seems fine to me, though > I haven't encountered a need for this capability myself. If it seems > generally useful though, go ahead. The problem is that entity references cannot be printed in attribute values nor in comments. After reconsideration, here's an improved (IMO) proposal. * setEscaping(boolean enable) Enables or disables escaping of ampersands. If entity references should be printed, then escaping should be disabled. This setting applies to pcdata(String), whitespace(String) and to the attribute value passed to attribute(String,String). See: isEscaping() * isEscaping() Ernst -- Ernst de Haan Development Team Leader Wanadoo Nederland B.V. "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ |