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.

Bug 236623 - image tag
Summary: image tag
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.2
Hardware: All All
: P4 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2013-10-01 22:24 UTC by maxym
Modified: 2014-10-06 13:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

example of reporting image tag (4.18 KB, image/png)
2013-10-02 18:22 UTC, maxym

Note You need to log in before you can comment on or make changes to this bug.
Description maxym 2013-10-01 22:24:24 UTC
I found that image tag pair is reported as invalid:


Is there any reason for that?
Any other example like <aaa></aaa> or <picture></picture> is recognized as valid one.
Comment 1 mmolda 2013-10-02 10:01:32 UTC
What NetBeans version are you using?

It is working in dev build.

Product Version: NetBeans IDE Dev (Build 201310010002)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b14
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 2 maxym 2013-10-02 18:22:44 UTC
Created attachment 140743 [details]
example of reporting image tag
Comment 3 maxym 2013-10-02 18:25:42 UTC
See attached image to make sure we are talking about the same thing.

Issue appears in NB7.4RC1 and the latest buld: Dev (Build 201310020002)
Comment 4 Martin Fousek 2013-10-07 04:53:57 UTC
HTML editor related -> reassign.
Comment 5 Vladimir Riha 2013-10-07 06:49:54 UTC

Product Version: NetBeans IDE Dev (Build 201310010002)
Comment 6 Ondrej Brejla 2013-12-12 11:25:57 UTC
It seems that external html parser library (nu.validator.htmlparser) wrongly parses <image> as <img>...and then it can't be matched with a proper </image> end tag. P4 as a reminder (when will be a time, one should evaluate newer versions, if there are some and if it solves such a problem). It doesn't work in 7.2 either.