Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] open HTML entities

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Dave Pawson" <dave.pawson AT gmail.com>
  • To: "Diego Campo" <diego.campo AT properazzi.com>
  • Cc: elharo AT metalab.unc.edu, xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] open HTML entities
  • Date: Wed, 16 Jan 2008 17:17:30 +0000

On 16/01/2008, Diego Campo <diego.campo AT properazzi.com> wrote:
> Ah, yes, sorry about that!
>
> Yes, I did a hack by passing the input through some regex which replaces
> "&lang" followed by a punctuation character which is not ';' to
> "&amp;lang". This seems to fix it, though it's a bit risky. I am trying
> to find a better way to cope with this.

>From John Cowan (Tagsoup author)

TagSoup 1.2 now handles
things the way the OP expects? That is, within an attribute
value an entity reference is detected only if it ends in a semicolon.
That was a long-standing bug.

regards



--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk




Archive powered by MHonArc 2.6.24.

Top of Page