aspose file tools*
The moose likes Ranch Office and the fly likes Problem using the URL button to mark text as a URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Problem using the URL button to mark text as a URL" Watch "Problem using the URL button to mark text as a URL" New topic
Author

Problem using the URL button to mark text as a URL

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

I tried enclosing the following url in the URL tag(using the button available below), but failed while submitting the post. The error keeps mentioning that there's an invalid html tag.




[My Blog] [JavaRanch Journal]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

Yep; it's an unfortunate limitation of the software. It's the parentheses.
[ May 17, 2006: Message edited by: Ernest Friedman-Hill ]

[Jess in Action][AskingGoodQuestions]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

limitation of the software


Thank you for confirming. Cant do much in such cases I still love the entire Javaranch site and whatever little features it has.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11526
    
100

This is a really ugly workaround, but you can replace the characters that UBB complains about with the HTML character set equivalents, and get a working URL from it.

For example: java.lang.String, org.apache.log4j.spi.LoggerRepository)" target="_blank" rel="nofollow">doConfigure(String, LoggerRepository)

To get that, I replaced the left parenthesis '(' with ( and the space with  

Regards, Andrew


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11526
    
100

If you are not sure what I mean, try doing a quoted reply to my post by clicking on the icon at the top of my post. You will then be able to see exactly how I achieved this.

Regards, Andrew
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10289
    
168

you can replace the characters that UBB complains about with the HTML character set equivalents


Thanks Andrew, i got what you are saying.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem using the URL button to mark text as a URL