File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ranch Office and the fly likes Fixing gremlin URL bug Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Fixing gremlin URL bug" Watch "Fixing gremlin URL bug" New topic
Author

Fixing gremlin URL bug

Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381
jdbc dbc

Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381
As you can see both in code tags and outside jdbc : odbc or jdbc : oracle (without the spaces in both cases) gets eaten by the emote/gremlin tag.

This makes alot of posts really hard to read in the JDBC forum as well as copy and paste to see if code compiles/generall works. My suggestions would be

- fix the regex so it only looks for : o surrounded by whitespace
- fix the parsing/regex so that it doesn't do anything to stuff in a code block
- change the text to type for the embarrassed emote
[ February 05, 2006: Message edited by: Maximilian Stocker ]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

Or just check the checkbox for "Disbale smilies in this post." before you submit. ;)
[ February 05, 2006: Message edited by: Gregg Bolinger ]

GenRocket - Experts at Building Test Data
Maximilian Xavier Stocker
Ranch Hand

Joined: Sep 20, 2005
Posts: 381
Originally posted by Gregg Bolinger:
Or just check the checkbox for "Disbale smilies in this post." before you submit.

[ February 05, 2006: Message edited by: Gregg Bolinger ]


Lovely idea. Except that it is in reading posts by others that I am having this problem.

I will see if I can find the source for this and submit a fix. The whitespace around the tag would be the easiest to do and would work without problems.
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
There are other bugs as well where constructs in code can set off various UBB "features". E.g. accessing an array as "arr[ i ]" is fine, but if you omit the spaces UBB sees an italics tag. Or "for( ; ; )" becomes "for (; ". I think the preferred general solution would be to turn off all other special character parsing inside code tags. Though this may be difficult to isolate; the UBB tag parsing code was particularly messy as I recall.

Max, I'll send you an e-mail.


"I'm not back." - Bill Harding, Twister
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Fixing gremlin URL bug