cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Crafter <craft...@fztig938.bank.dresdner.net>
Subject [C2] HTMLSerializer, %values & Netscape ?
Date Wed, 17 Oct 2001 13:32:01 GMT
Hi All,

	Hope all is well.

	Recently, we've just noticed some interesting behaviour with the
	HTML serializer.

	<a href=".."/> tags are serialized with the 'href' attribute
	being encoded with %num values replacing spaced, double quotes,
	etc.

	eg.

	<a href="javascript:f('this is a test')"/>

	comes out to the browser as:

	<a href="javascript:f('this%20is%20a%20test')"/>

	In IE this seems to be handled fine, but in Netscape and Mozilla there
	are problems - the javascript interpreter registers a syntax error
	with the above function call. Apparently, it doesn't convert the
	%20's back into spaces. :-(

	Has anyone seen this behaviour before ?

	Cheers,

	Marcus

-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   Managesoft GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : Marcus.Crafter@managesoft.com
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message