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 56605

Summary: [41cat] XML Editor - Bad Bracket Matching in CDATA Structures
Product: xml Reporter: jerosser <jerosser>
Component: CodeAssignee: issues@xml <issues>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P4    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: Reproduced in development build #200503211900 of NetBeans 4.1.

Description jerosser 2005-03-17 13:40:50 UTC
[ JDK VERSION : 1.5.0_02 ]

In the following frag the editor marks the wrong <
when placing the caret at the CDATA close >.  The
'<' internal to the data structure is marked not
the one directly after <item>.

frag:

<item><![CDATA[Diagram:
     alpha <------------------ gamma
       |     <1>                 ^
       v                         |
     beta -----------------------+
   ]]></item>
Comment 1 Martin Roskanin 2005-03-21 14:23:37 UTC
It seems to be xml editor problem
Comment 2 Jiri Kovalsky 2005-03-22 10:26:20 UTC
Created attachment 21025 [details]
Reproduced in development build #200503211900 of NetBeans 4.1.
Comment 3 Samaresh Panda 2008-12-01 21:34:27 UTC
Appears to be working fine in 6.5.