Re: links to form results: handling & in attributes

Hi Dan,

We're looking at the problem.
We patched Expat because it omitted to transmit entities when they
are located within attribute values.
It seems the bug fix doesn't work in your case.


> I like the way Amaya catches well-formedness errors;
> it catches me if I paste a URI from a query form
> into an XHTML document without changing & to &.
> 
> But after I fix them, Amaya seems to break them
> again when it saves.
> 
> I can't quite nail down the problem. I tried:
> 
>   - create a new document
>   - type some text; select it; create link; select no anchor
>   - enter http://example?a=1&b=2 in the attribute dialog
>   - save
> 
> But that didn't reproduce the bug; it correctly wrote:
> 
>   <a href="http://example?a=1&amp;b=2">asdf</a>
> 
> Then I closed that window, and then opened the document again,
> and looked at the href attribute. Oddly, it looked like:
> 
>   http://example?a=1b=2
> 
> and when I saved, it was written that way:
> 
>   <a href="http://example?a=1b=2">asdf</a>
> 
> That wasn't the bug I was trying to reproduce, but perhaps
> it's related.
> 
> Help?
> 
> version info:
> 
>   <meta name="GENERATOR" content="amaya V4.3.1" />
> 
> -- 
> Dan Connolly, W3C http://www.w3.org/People/Connolly/
> 

-- 
     Irene.

Received on Friday, 23 March 2001 06:17:06 UTC