You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "mike perham (JIRA)" <ji...@codehaus.org> on 2005/12/06 13:52:30 UTC
[jira] Created: (JXR-5) JXR report html malformed
JXR report html malformed
-------------------------
Key: JXR-5
URL: http://jira.codehaus.org/browse/JXR-5
Project: Maven JXR
Type: Bug
Versions: 1.0-beta-1
Reporter: mike perham
Fix For: 1.0-beta-1
Here's a sample of the HTML generated. Note the invalid links and the unresolved $name variable:
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title>WSF TripleStore SPI 2.2.0-SNAPSHOT Reference Package $name</title>
<link rel="stylesheet" type="text/css" href="\.\./\.\./\.\./\.\./\.\./stylesheet.css" title="style" />
</head>
<body>
<div class="overview">
<ul>
<li>
<a href="\.\./\.\./\.\./\.\./\.\./overview-summary.html">Overview</a>
</li>
<li class="selected">Package</li>
</ul>
</div>
<div class="framenoframe">
<ul>
<li>
<a href="\.\./\.\./\.\./\.\./\.\./index.html" target="_top">FRAMES</a>
</li>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (JXR-5) JXR report html malformed
Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/JXR-5?page=all ]
fabrizio giustina updated JXR-5:
--------------------------------
Fix Version: (was: 1.0-beta-1)
1.0
> JXR report html malformed
> -------------------------
>
> Key: JXR-5
> URL: http://jira.codehaus.org/browse/JXR-5
> Project: Maven JXR
> Type: Bug
> Versions: 1.0-beta-1
> Reporter: mike perham
> Fix For: 1.0
>
>
> Here's a sample of the HTML generated. Note the invalid links and the unresolved $name variable:
> <html xml:lang="en" lang="en">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
> <title>WSF TripleStore SPI 2.2.0-SNAPSHOT Reference Package $name</title>
> <link rel="stylesheet" type="text/css" href="\.\./\.\./\.\./\.\./\.\./stylesheet.css" title="style" />
> </head>
> <body>
> <div class="overview">
> <ul>
> <li>
> <a href="\.\./\.\./\.\./\.\./\.\./overview-summary.html">Overview</a>
> </li>
> <li class="selected">Package</li>
> </ul>
> </div>
> <div class="framenoframe">
> <ul>
> <li>
> <a href="\.\./\.\./\.\./\.\./\.\./index.html" target="_top">FRAMES</a>
> </li>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (JXR-5) JXR report html malformed
Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/JXR-5?page=comments#action_52841 ]
mike perham commented on JXR-5:
-------------------------------
Where is the maven-jxr source code? I'll fix this and submit a patch if only I knew where it was...
> JXR report html malformed
> -------------------------
>
> Key: JXR-5
> URL: http://jira.codehaus.org/browse/JXR-5
> Project: Maven JXR
> Type: Bug
> Versions: 1.0-beta-1
> Reporter: mike perham
> Fix For: 1.0-beta-1
>
>
> Here's a sample of the HTML generated. Note the invalid links and the unresolved $name variable:
> <html xml:lang="en" lang="en">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
> <title>WSF TripleStore SPI 2.2.0-SNAPSHOT Reference Package $name</title>
> <link rel="stylesheet" type="text/css" href="\.\./\.\./\.\./\.\./\.\./stylesheet.css" title="style" />
> </head>
> <body>
> <div class="overview">
> <ul>
> <li>
> <a href="\.\./\.\./\.\./\.\./\.\./overview-summary.html">Overview</a>
> </li>
> <li class="selected">Package</li>
> </ul>
> </div>
> <div class="framenoframe">
> <ul>
> <li>
> <a href="\.\./\.\./\.\./\.\./\.\./index.html" target="_top">FRAMES</a>
> </li>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (JXR-5) JXR report html malformed
Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/JXR-5?page=all ]
fabrizio giustina closed JXR-5:
-------------------------------
Assign To: fabrizio giustina
Resolution: Fixed
Committed fix for the unresolved $name variable, link generation has already been fixed
> JXR report html malformed
> -------------------------
>
> Key: JXR-5
> URL: http://jira.codehaus.org/browse/JXR-5
> Project: Maven JXR
> Type: Bug
> Versions: 1.0-beta-1
> Reporter: mike perham
> Assignee: fabrizio giustina
> Fix For: 1.0
>
>
> Here's a sample of the HTML generated. Note the invalid links and the unresolved $name variable:
> <html xml:lang="en" lang="en">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
> <title>WSF TripleStore SPI 2.2.0-SNAPSHOT Reference Package $name</title>
> <link rel="stylesheet" type="text/css" href="\.\./\.\./\.\./\.\./\.\./stylesheet.css" title="style" />
> </head>
> <body>
> <div class="overview">
> <ul>
> <li>
> <a href="\.\./\.\./\.\./\.\./\.\./overview-summary.html">Overview</a>
> </li>
> <li class="selected">Package</li>
> </ul>
> </div>
> <div class="framenoframe">
> <ul>
> <li>
> <a href="\.\./\.\./\.\./\.\./\.\./index.html" target="_top">FRAMES</a>
> </li>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (JXR-5) JXR report html malformed
Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/JXR-5?page=comments#action_52865 ]
Emmanuel Venisse commented on JXR-5:
------------------------------------
https://svn.apache.org/repos/asf/maven/jxr/trunk
> JXR report html malformed
> -------------------------
>
> Key: JXR-5
> URL: http://jira.codehaus.org/browse/JXR-5
> Project: Maven JXR
> Type: Bug
> Versions: 1.0-beta-1
> Reporter: mike perham
> Fix For: 1.0-beta-1
>
>
> Here's a sample of the HTML generated. Note the invalid links and the unresolved $name variable:
> <html xml:lang="en" lang="en">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
> <title>WSF TripleStore SPI 2.2.0-SNAPSHOT Reference Package $name</title>
> <link rel="stylesheet" type="text/css" href="\.\./\.\./\.\./\.\./\.\./stylesheet.css" title="style" />
> </head>
> <body>
> <div class="overview">
> <ul>
> <li>
> <a href="\.\./\.\./\.\./\.\./\.\./overview-summary.html">Overview</a>
> </li>
> <li class="selected">Package</li>
> </ul>
> </div>
> <div class="framenoframe">
> <ul>
> <li>
> <a href="\.\./\.\./\.\./\.\./\.\./index.html" target="_top">FRAMES</a>
> </li>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (JXR-5) JXR report html malformed
Posted by "mike perham (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/JXR-5?page=comments#action_52887 ]
mike perham commented on JXR-5:
-------------------------------
Here's an ugly but working patch:
Index: src/main/java/org/apache/maven/jxr/DirectoryIndexer.java
===================================================================
--- src/main/java/org/apache/maven/jxr/DirectoryIndexer.java (revision 354452)
+++ src/main/java/org/apache/maven/jxr/DirectoryIndexer.java (working copy)
@@ -347,6 +347,8 @@
String pkgName = pkg.getName();
String pkgDir = perl.substitute( "s/\\./\\//g", pkgName );
String rootRef = perl.substitute( "s/[^\\.]*(\\.|$)/\\.\\.\\//g", pkgName );
+ // TODO Ugly hack to remove spurious backslashes, see JXR-5
+ rootRef = perl.substitute( "s/\\\\//g", rootRef );
// special case for the default package
// javadoc doesn't deal with it, but it's easy for us
> JXR report html malformed
> -------------------------
>
> Key: JXR-5
> URL: http://jira.codehaus.org/browse/JXR-5
> Project: Maven JXR
> Type: Bug
> Versions: 1.0-beta-1
> Reporter: mike perham
> Fix For: 1.0-beta-1
>
>
> Here's a sample of the HTML generated. Note the invalid links and the unresolved $name variable:
> <html xml:lang="en" lang="en">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
> <title>WSF TripleStore SPI 2.2.0-SNAPSHOT Reference Package $name</title>
> <link rel="stylesheet" type="text/css" href="\.\./\.\./\.\./\.\./\.\./stylesheet.css" title="style" />
> </head>
> <body>
> <div class="overview">
> <ul>
> <li>
> <a href="\.\./\.\./\.\./\.\./\.\./overview-summary.html">Overview</a>
> </li>
> <li class="selected">Package</li>
> </ul>
> </div>
> <div class="framenoframe">
> <ul>
> <li>
> <a href="\.\./\.\./\.\./\.\./\.\./index.html" target="_top">FRAMES</a>
> </li>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org