logo       

Re: Problem with setHref() encoding: msg#00027

java.enhydra.xmlc

Subject: Re: Problem with setHref() encoding


Why on earth would you want to disable encoding?  "&" is a reserved character entity in html/xhtml.  Yes, most browsers handle the non-escaped "&", but the appropriate way to embed "&" in html is "&".  If you click that link, the browser will send it as "&".  It does the conversion for you.  XMLC/Barracuda is doing the right thing here.  You'll have to provide further explanation as to why you would want to change correct behavior.

Jake

At 12:38 PM 3/5/2003 +0100, you wrote:
Hello,

I have a problem with the setHref() method in a HTMLAnchorElement class.

In my html source, I have the following case:
<a href="">
In my (Barracuda) renderer, I would like to add a parameter to the query string of this link (by appending "&param2=value2), but all I get is <a href="">
Is there a way to disable this encoding?

Thanks,

--
Mark van Leeuwen
Virgil B.V.
Amsterdam


_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise