Community
Participate
Working Groups
Create a new element with a content like that: <?xml version="1.0" encoding="UTF-8"?> <foo> <url>http://www.eclipse.org</url> </foo> Hold Ctrl and try to click on the URI. You see, the endtag is included in the link which isn't correct :) Hyperlink detection should stop with the < char.
Reproducable with Build id: M20060629-1905 on Windows. Ben
Sorry for the trouble guys. Bug is for Platform/Text. Bug occurs not only in the XML editor but in all text editors.
Created attachment 49552 [details] improved_hyperlink_detection This patch only covers this special case. As the detection rules are a bit too simple, I suggest to improve the whole detection function. See http://www.faqs.org/rfcs/rfc1738.html for more details. On the other side, I don't think we should cover all special cases for URI detection. Only some, like this one, are worth to fix because it's very annoying when editing xml files.
Reassigning to Platform Text Inbox since issue seems to be with org.eclipse.jface.text.hyperlink.URLHyperlinkDetector
Thanks for the patch. Fixed in HEAD. Available in builds > N20060906-0010.
Reopening to reassign.
.