This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The CheckLinks ant task does not accept html files with following style: <a name="validname"/> The problem is that this is not matched by the regexp pattern specified in the CheckLinks ant task. There is a nbbuild/test/unit/src/org/netbeans/nbbuild/CheckLinksTest#testDocFilesRelativeLinks test case that covers the problem.
Now the test success because of an issue #97784.
Created attachment 39458 [details] Proposed patch
Thanks for patch and test! Checking in CheckLinks.java; /shared/data/ccvs/repository/nbbuild/antsrc/org/netbeans/nbbuild/CheckLinks.java,v <-- CheckLinks.java new revision: 1.28; previous revision: 1.27 done