You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/11/30 09:01:00 UTC

[jira] [Commented] (MPLUGIN-443) Javadoc reference containing a link label with spaces are not detected

    [ https://issues.apache.org/jira/browse/MPLUGIN-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641168#comment-17641168 ] 

ASF GitHub Bot commented on MPLUGIN-443:
----------------------------------------

michael-o commented on PR #177:
URL: https://github.com/apache/maven-plugin-tools/pull/177#issuecomment-1331833197

   I am about to puke. Does javadoc really produces these?
   This violates https://stackoverflow.com/a/2849800/696632 and https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/id




> Javadoc reference containing a link label with spaces are not detected
> ----------------------------------------------------------------------
>
>                 Key: MPLUGIN-443
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-443
>             Project: Maven Plugin Tools
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 3.7.0
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: next-release
>
>
> For example the following link tag is not properly parsed:
> {code}
> {@link #member label with spaces}
> {code}
> and leads to the following exception
> {code}
> java.lang.IllegalArgumentException: Invalid format of javadoc reference: #member label with spaces
> 	at org.apache.maven.tools.plugin.javadoc.JavadocReference.parse(JavadocReference.java:74)
> 	...
> {code}
> According to https://docs.oracle.com/en/java/javase/17/docs/specs/javadoc/doc-comment-spec.html#link this should be valid though as the link tag ends only with the '}'



--
This message was sent by Atlassian Jira
(v8.20.10#820010)