aspose file tools*
The moose likes Ranch Office and the fly likes Evil Wicked JavaRanch Editor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Evil Wicked JavaRanch Editor" Watch "Evil Wicked JavaRanch Editor" New topic
Author

Evil Wicked JavaRanch Editor

Joe Pluta
Ranch Hand

Joined: Jun 23, 2003
Posts: 1376
It just did it to me again! While I was trying to post this message!
AGGGGGGGGGGGGGGGH!
Okay, calm down. Here's the issue. THREE TIMES in the last 24 hours I've gotten the following message:

Sorry, your post appears to have an illegal HTML tag. Often this is because the post contains a "<" character instead of the equivalent HTML escape sequence "<"
You can fix this by replacing every "<" in your post with "<".
The specific error message is: Parenthesis in HTML tag
� Please use your browser's back button to return.

Now, I had to replace the less-than signs with (ampersand-lt-semicolon). Note that the message says to replace less-than with less-than (not with ampersand-lt-semicolon). But that's just a nit.
The real pain in the keister is that it want you to hit the back button. Well guess what? When I hit the back button my entire post is gone! And if I've spent any amount of time typing the message in, it's a real pain in the butt, because I have to retype the entire thing from scratch!
It would be nice if, rather than Back, you could hit a button that would take you to the appropriate posting screen, with your original text intact (perhaps with the offending sequences highlighted somehow).
Joe
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

You might consider changing browsers. I use Mozilla, and "back" gets me back to the original filled-out form.


[Jess in Action][AskingGoodQuestions]
Joe Pluta
Ranch Hand

Joined: Jun 23, 2003
Posts: 1376
Originally posted by Ernest Friedman-Hill:
You might consider changing browsers. I use Mozilla, and "back" gets me back to the original filled-out form.

It's a possibility. But IE is the only browser I use for development (because it's DOM is much more robust), so then I'd have to remember to use Mozilla for JavaRanch. It would be much nicer if I (and the other 90+% of the people out there who use IE) didn't have to do that.
Joe
Joe Pluta
Ranch Hand

Joined: Jun 23, 2003
Posts: 1376
Of course, it would also be nice if IE was smart enough to re-fill the form on a back button. (((sigh)))
paul wheaton
Trailboss

Joined: Dec 14, 1998
Posts: 20729
    ∞

Hi guys!
I own this site. And I'm the author of BananaCom, the number one DOS terminal software of 1995. I had months invested in writing a web browser the day Billionaire Bill said "I'm gonna dump millions into making a browser and then give it away for free!" So I too feel the urge of driving a stake in the heart of anything with the MS logo.
But, like it or not, IE is the primary browser used on JavaRanch at this time. So if something isn't working right in IE, we need to explore how to fix stuff on the server side.
Joe, which forum is giving you the trouble? Can you make a small sample for us to try?


permaculture Wood Burning Stoves 2.0 - 4-DVD set
Joe Pluta
Ranch Hand

Joined: Jun 23, 2003
Posts: 1376
MICROSOFT... MAKES... ME... CRAZY...
(((sigh)))
It turns out that the problem was in IE, not JavaRanch. I (inadvertantly) fixed it when I was trying to fix a different problem. I found that View Source was broken, and this was because I had too many Temporary Internet Files. You don't get a message or anything, it just doesn't work. But if you go to the MS site you'll see that they know about this problem, and to fix it they tell you to clear your Internet cache, which I did. That not only fixed my View Source problem, but evidently it fixed the problem with the Back button not re-filling the forms, because now it works just fine.
It took me several attempts to get the thing to yack at me with that error "bad HTML", and once it did, I hit the back button and Voila! my initial message was intact.
I'm not sure whether that makes me hate MS more or less.
Joe
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Joe, glad to hear you got it sorted out. We'll remember that solution in case anyone else reports a siimilar problem. I know that the whole business of replacing < with &lt; is a pain in the butt, and even with backspace working better we'd like to eliminate this. But it's complex to hack our current software, which basically came with this "feature".
I did fix the error message a bit, so that you see &lt; rather than <. Unfortunately there's another bug in the system which will probably change that back again sometime soon; I'll see if there's a better solution.
To see the error message Joe's talking about (slightly improved) all you need to do is submit a post containing the string "getKookie" - but replace the K with a C.


"I'm not back." - Bill Harding, Twister
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
99 times out of 100 you retain your data when you press back in IE...
Weirdly I got the "illegal characters" message yesterday when there were no illegal characters.
Ended up retyping the post word for word after which it was accepted immediately.
Lucky for me it wasn't a long rant


42
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
Error message:
"Sometimes the problem is that you're using a specific method name whihc our system..."
"whihc" should be "which", I am 99% sure.


Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Fixed. Map should check again though to make sure there aren't any other... typos... however.
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
"Sorry, your post appears to have an illegal HTML tag. Often this is because the post contains a "<" character instead of the equivalent HTML escape sequence "<"
You can fix this by replacing every "<" in your post with "& lt;" (without the internal space). Sometimes the problem is that you're using a specific method name which our system thinks is part of an attempt to insert some evil JavaScript exploit into our pages. The most common is "getCookie()" - just replace this phrase with something else like getKookie(). Sorry for the inconvenience; this is the best we can do for now. It's all Mapraputa's fault."


I cannot believe my eyes... How... I mean "the post contains a "<" character instead of the equivalent HTML escape sequence "<" should be
the post contains a "<" character instead of the equivalent HTML escape sequence "&lt;", no?
[ September 11, 2003: Message edited by: Mapraputa Is ]
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
How...
See, I already answered that in the last line.
Anupam Sinha
Ranch Hand

Joined: Apr 13, 2003
Posts: 1088
& a m p ; l t (without the space) would be < (&lt;). Here is a list.
[ September 12, 2003: Message edited by: Anupam Sinha ]
Donald R. Cossitt
buckaroo
Ranch Hand

Joined: Jan 31, 2003
Posts: 401
Thanks for the list - I been looking for one!


doco
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Evil Wicked JavaRanch Editor