Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

HTML generated by JavaDoc

Thread view: 
Roedy Green - 26 Nov 2005 18:22 GMT
JavaDoc uses URLs like this:

file://localhost/J:/Program%20Files/java/jdk1.5.0_05/docs/api/java/io/PrintWriter.html#printf(java.lang.String,
java.lang.Object...)

note the space after String,

Isn't that a bug?

1. HTML validator complains about it.

2. when I replace the space with %20, Opera and IE don't go to the
right place. Netscape, Mozilla and Firefox do.

3. Only alphanumeric characters and dashes are permitted in anchors,
so the dots, commas ( etc are all illegal.

3. even the space encoded with %20 is illegal.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Roedy Green - 26 Nov 2005 18:32 GMT
On Sat, 26 Nov 2005 18:22:00 GMT, Roedy Green
<my_email_is_posted_on_my_website@munged.invalid> wrote, quoted or
indirectly quoted someone who said :

>3. Only alphanumeric characters and dashes are permitted in anchors,
>so the dots, commas ( etc are all illegal.

I have come up dry trying to find where the W3C hides the official
definition of what letters are allowed in anchors.

I have found two non-official sources with conflicting restrictions.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

David Gilbert - 26 Nov 2005 19:18 GMT
> JavaDoc uses URLs like this:
>
[quoted text clipped - 4 lines]
>
> Isn't that a bug?

Yes it is:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4663254

Gjdoc (a Free tool that does a similar job to Javadoc) can generate valid HTML, but
unfortunately it doesn't render well with Internet Explorer (it looks great in most
other browsers).  Here's a sample:

http://www.jfree.org/jfreechart/api/

...and the validation:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.jfree.org%2Fjfreechart%2Fapi%2F

Regards,

Dave Gilbert
JFreeChart Project Leader
Roedy Green - 26 Nov 2005 21:16 GMT
On Sat, 26 Nov 2005 19:18:15 GMT, David Gilbert
<david.gilbert@ntlworld.com> wrote, quoted or indirectly quoted
someone who said :

>Gjdoc (a Free tool that does a similar job to Javadoc) can generate valid HTML, but
>unfortunately it doesn't render well with Internet Explorer (it looks great in most
>other browsers).  Here's a sample:
http://lists.gnu.org/archive/html/cp-tools-discuss/2005-04/msg00002.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.