[XOM-interest] open HTML entities
Dave Pawson
dave.pawson at gmail.com
Wed Jan 16 12:17:30 EST 2008
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
> "&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
More information about the XOM-interest
mailing list