You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2003/10/17 15:49:04 UTC
[jira] Created: (MAVEN-943) xref's misinterpretation of URL causes linkcheck exception
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-943
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-943
Summary: xref's misinterpretation of URL causes linkcheck exception
Type: Bug
Status: Unassigned
Priority: Minor
Time Spent: Unknown
Remaining: Unknown
Project: maven
Components:
plugin-linkcheck
plugin-jxr
Versions:
1.0-beta-10
Assignee:
Reporter: Charlie Dobbie
Created: Fri, 17 Oct 2003 8:47 AM
Updated: Fri, 17 Oct 2003 8:47 AM
Description:
I have a source file (specifically JAXPTransletOneTransformation.java) that includes the Apache Software License in a comment. It contains the following text:
* 3. The end-user documentation included with the redistribution,
* if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
The included link is interpreted by jxr as "http://www.apache.org/)."
Further down is the text:
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation and was
* originally based on software copyright (c) 2001, Sun
* Microsystems., http://www.sun.com. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
This link is interpreted as "http://www.apache.org/>."
These then appear in the generated xref HTML as:
<a href="http://www.apache.org/)." target="alexandria_uri">http://www.apache.org/).</a>
and:
<a href="http://www.apache.org/>." target="alexandria_uri">http://www.apache.org/>.</a>
respectively, and thus cause linkcheck to log them as errors. On the second URL linkcheck throws the exception:
maven-linkcheck-plugin:report-real:
[mkdir] Created dir: C:\Development\Workspace\uk.co.cmp1.expression.web\target\linkcheck
[mkdir] Created dir: C:\Development\Workspace\uk.co.cmp1.expression.web\target\linkcheck\docs
maven-linkcheck-plugin: Not using a proxy
java.lang.IllegalArgumentException: Invalid uri 'http://www.apache.org/>.': escaped absolute path not valid
at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:285)
at org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:183)
at org.apache.maven.linkcheck.validation.HTTPLinkValidator.validateLink(HTTPLinkValidator.java:134)
[...]
Which is a fair complaint! ;-)
Is there anything sensible that can be done about this?
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report 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