Re: [Haskell-cafe] HaXml: ampersand in attribute value

2006-02-20 Thread Graham Klyne
Lennart Augustsson wrote: But speaking of HaXml bugs, I'm pretty sure HaXml doesn't handle % correctly. It seem to treat % specially everywhere, but I think it is only special inside DTDs. I have many XML files produced by other tools that the HaXml parser fails to process because of this.

Re: [Haskell-cafe] HaXml: ampersand in attribute value

2006-02-20 Thread Graham Klyne
Malcolm Wallace wrote: Lennart Augustsson wrote: But speaking of HaXml bugs, I'm pretty sure HaXml doesn't handle % correctly. It seem to treat % specially everywhere, but I think it is only special inside DTDs. I have many XML files produced by other tools that the HaXml parser fails to

Re: [Haskell-cafe] HaXml: ampersand in attribute value

2006-02-20 Thread Malcolm Wallace
Graham Klyne [EMAIL PROTECTED] wrote: Did you come across the HaXml test harness I created based on a subset of W3C conformance tests? http://www.ninebynine.org/Software/HaskellUtils/HaXml-1.12/test/ This covers all the parameter entity problems I fixed some time ago. Indeed, and an

[Haskell-cafe] HaXml: ampersand in attribute value

2006-02-17 Thread Koen . Roelandt
HaXml seems to choke on finding an ampersand in an attribute value. Is this normal? Is there any workaround? Cheers, Koen. ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] HaXml: ampersand in attribute value

2006-02-17 Thread Malcolm Wallace
[EMAIL PROTECTED] wrote: HaXml seems to choke on finding an ampersand in an attribute value. Is this normal? Is there any workaround? Yes, it is expected. An ampersand indicates the start of a reference, e.g. lt; or #20; If there is no semicolon to indicate the end of the reference, then

Re: [Haskell-cafe] HaXml: ampersand in attribute value

2006-02-17 Thread Lennart Augustsson
But speaking of HaXml bugs, I'm pretty sure HaXml doesn't handle % correctly. It seem to treat % specially everywhere, but I think it is only special inside DTDs. I have many XML files produced by other tools that the HaXml parser fails to process because of this. -- Lennart Malcolm

Re: [Haskell-cafe] HaXml: ampersand in attribute value

2006-02-17 Thread Malcolm Wallace
Lennart Augustsson wrote: But speaking of HaXml bugs, I'm pretty sure HaXml doesn't handle % correctly. It seem to treat % specially everywhere, but I think it is only special inside DTDs. I have many XML files produced by other tools that the HaXml parser fails to process because of this.