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

Summary: image tag
Product: web Reporter: maxym
Component: HTML EditorAssignee: Milutin Kristofic <mkristofic>
Status: REOPENED ---    
Severity: normal    
Priority: P4    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: example of reporting image tag

Description maxym 2013-10-01 22:24:24 UTC
I found that image tag pair is reported as invalid:

<image></image>

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
reproducible

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.