W3C home > Mailing lists > Public > www-svg@w3.org > October 2003

Re: xlink to .jsp page with params?

From: Tobias Reif <tobiasreif@pinkjuice.com>
Date: Mon, 20 Oct 2003 16:33:53 +0200
Message-ID: <3F93F251.4040401@pinkjuice.com>
To: www-svg@w3.org
Cc: Simon Knebel <Simon.Knebel@bmw.de>

Simon Knebel wrote:
> I have difficulties linking to a .jsp page with params. I tried to open
> a new window from an svg file using the javascript "onload..." syntax
> like:
> 
> <svg ......
> onload="javascript:window.open('http://www.example/index.jsp',
> 'window1', 'width=586, height=192')">
> 
> and that went fine, but if I have a .jsp page with params like this: 
> 
> <svg ......
> onload="javascript:window.open('http://www.example/index.jsp&configFile=lm_config.xml&language=de',
> 'window1', 'width=586, height=192')">
> 
> Now, nothing happens anymore! Anything in the linking string seems to
> make problems. Has anyone of you experience with linking to .jsp pages
> and can tell me what's wrong in my syntax?

Try validating your SVG file, locally or via something like
http://www.pinkjuice.com/check/ .

If the SVG is not well-formed, try escaping the & (ampersand) via entity 
reference &amp; (& amp ;).

Tobi

-- 
Vim Tip #583: Vim as XML Editor
http://www.vim.org/tips/tip.php?tip_id=583
Received on Monday, 20 October 2003 10:34:56 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:26 GMT