#8 Table names containnig # don't link that well

open
nobody
None
5
2010-12-20
2010-12-20
Mark Berger
No

Hi John

Believe it or not but some of the 3rd party systems we work with use the # (number sign/octothorpe/hash etc) as part of the table name. This causes problems when these names are used as-is as part of a link. The # is used in a URL of a webpage or other resource to introduce a "fragment identifier" – an id which defines a position within that resource. (http://en.wikipedia.org/wiki/#)

Attached patch should fix this. There is a new method (HtmlFormatter.urlEncode). Everywhere a link (<a> tag) wraps a table/column name, has been changed to use this.

There is also a sample oracle sql file that creates schema and a couple of tables with #, Kanji and Hiragana.

Regards
Mark

Discussion

  • John Currier
    John Currier
    2010-12-20

    Thanks for the patch Mark. That's a much cleaner implementation of what I was trying to do for the Kanji stuff. It's in rev 606.

    John