Jérôme BERNARD
2002-01-29 16:02:02 UTC
Hi,
I have been experiencing problems with ObjectNames containing spaces.
The way the XSTL stylesheets are built is a problem because the URL
produced are not valid.
I have found (and implemented) a "trick" in order to solve that: we can
add a method in common.xsl (I called it urlencode) that encodes properly
the URL and do a window.location to this newly created url.
We replace all href values with urlencode(the old href value) and we're
done.
Is anyone ok for such a fix?
If so I will start updating all the stylesheet and commit.
Jerome.
I have been experiencing problems with ObjectNames containing spaces.
The way the XSTL stylesheets are built is a problem because the URL
produced are not valid.
I have found (and implemented) a "trick" in order to solve that: we can
add a method in common.xsl (I called it urlencode) that encodes properly
the URL and do a window.location to this newly created url.
We replace all href values with urlencode(the old href value) and we're
done.
Is anyone ok for such a fix?
If so I will start updating all the stylesheet and commit.
Jerome.