Bug#381922: No way to safely include text in generated XML.

2006-09-14 Thread Daniel Burrows
On Fri, Sep 08, 2006 at 05:33:48PM +0200, Arjan Oosting <[EMAIL PROTECTED]> was heard to say: > Does the code I did sent you in my previous message behave the way you > need or did you find more problems? Let me know if you have any more > problem. Hm, I think it looks like that works. Thanks.

Bug#381922: No way to safely include text in generated XML.

2006-09-13 Thread Arjan Oosting
Op vr, 08-09-2006 te 17:33 +0200, schreef Arjan Oosting: > I do think it is useful to export the escapeContent function in > Text.XML.HaXml.Escaper but that should be done upstream as I don't want > to ship a HaXml version with a different API within Debian. From upstream darcs repository: Thu A

Bug#381922: No way to safely include text in generated XML.

2006-09-08 Thread Arjan Oosting
severity 381922 normal thanks Hi Daniel, Does the code I did sent you in my previous message behave the way you need or did you find more problems? Let me know if you have any more problem. I am not sure if it is possible to change the pretty printer to run the escaper by default as it might bre

Bug#381922: No way to safely include text in generated XML.

2006-08-24 Thread Arjan Oosting
Hi Daniel, Sorry it took so long to respond, but I have been away on holiday a couple of days. Op ma, 14-08-2006 te 08:04 -0700, schreef Daniel Burrows: > This has particularly bad effects in a tag. The fragment > 'pre [literal "Daniel Burrows <[EMAIL PROTECTED]>"]' > produces the following out

Bug#381922: No way to safely include text in generated XML.

2006-08-15 Thread Daniel Burrows
On Mon, Aug 07, 2006 at 11:42:29PM +0200, Arjan Oosting <[EMAIL PROTECTED]> was heard to say: > module Main where > > import Text.PrettyPrint > import Text.XML.HaXml.Combinators > import Text.XML.HaXml.Html.Generate > import Text.XML.HaXml.Pretty > import Text.XML.HaXml.Types > import Text.XML.Ha

Bug#381922: No way to safely include text in generated XML.

2006-08-11 Thread Daniel Burrows
On Mon, Aug 07, 2006 at 11:42:29PM +0200, Arjan Oosting <[EMAIL PROTECTED]> was heard to say: > Hi Daniel, > > Thanks for your bugreport. I am CC'ing Malcolm so he can give input as > well. > > Op zo, 06-08-2006 te 16:57 -0400, schreef Daniel Burrows: > > For instance, see the attached program

Bug#381922: No way to safely include text in generated XML.

2006-08-07 Thread Arjan Oosting
Hi Daniel, Thanks for your bugreport. I am CC'ing Malcolm so he can give input as well. Op zo, 06-08-2006 te 16:57 -0400, schreef Daniel Burrows: > Package: haxml > Version: 1.13.1-2 > Severity: important > > Severity "important" because this is a fairly basic functionality > gap for an XML wr

Bug#381922: No way to safely include text in generated XML.

2006-08-07 Thread Daniel Burrows
Package: haxml Version: 1.13.1-2 Severity: important Severity "important" because this is a fairly basic functionality gap for an XML writing library. It appears that when you output text in an XML document using "literal", the text you pass is just copied to the output verbatim. This leads t