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.
Occurs at NB 7 RC2 ( build 200906030001) with JDK7b57. At html/tld files, attributes of tags "eat" the following text. Eg. when having <table align="center<tr><td style="color: blue;">.... and trying to add "> to close the table tag, the result is following: <table align="center">tr><td style="color: blue;">
I'm not able to reproduce the problem :( Could you attach whole source file that you are using - if possible some small one.
Created attachment 83153 [details] tld library
I am not able to reproduce it in html file, but in the attached file, when calling CC between <tag> and </taglib>, the result is following: <tag></tag>lib>
this is xml completion issue
Alex, please take a look.
Fixed in trunk: http://hg.netbeans.org/main/rev/0246f8030210 Steps for checking: 1. Create new Web Application project 2. Add a new Tag Library Descriptor (New -> Other... -> Categories: Web, File Types: Tag Library Descriptor -> Next -> Finish). A new file "newtag_library.tld" will be added to the project. Open it. 3. Put a cursor before the last tag "</taglib>" 4. Type exactly the following text "<tag>". Hide a code completion box if it appears. 5. Press Ctrl+Space to invoke a code completion box. Result: - the last line should look like "<tag></tag></taglib>" (a closing tag "</tag>" will be inserted), a wrong replacement "<tag></tag>lib>" has been fixed.
Integrated into 'main-golden', will be available in build *200907230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0246f8030210 User: Alex Petrov <alexpetrov@netbeans.org> Log: Fix for issue [#166462]: a closing tag removes a part of the next correct tag.