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 187360 - [69cat] Spell checker buggy with XML files
Summary: [69cat] Spell checker buggy with XML files
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 6.x
Hardware: PC Other
: P2 normal (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on: 202316
Blocks:
  Show dependency tree
 
Reported: 2010-06-09 03:42 UTC by gliesian
Modified: 2011-11-04 17:37 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
error video (9.39 MB, video/mp4)
2010-06-09 03:58 UTC, gliesian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gliesian 2010-06-09 03:42:10 UTC
Spell checker buggy with XML files... see attached screen cast.
Comment 1 gliesian 2010-06-09 03:42:35 UTC
Reference: http://wiki.netbeans.org/TS_70_SpellCheck
Comment 2 gliesian 2010-06-09 03:58:59 UTC
Created attachment 99918 [details]
error video
Comment 3 Peter Pis 2010-06-09 07:02:10 UTC
Reassigning.
Comment 4 Jan Lahoda 2010-06-09 08:50:04 UTC
Marek, could you please take a look? Thanks.
Comment 5 Peter Pis 2010-06-09 08:56:05 UTC
It's a defect, and works really weird for xml. Misspelled words are underlined randomly.
Comment 6 Marek Fukala 2010-06-10 08:39:10 UTC
The spellchecker doesn't work for me in xml files at all. In any case I am not owner of the xml modules, I think the russian guys from st. Petersburg are maintaining it.
Comment 7 Peter Pis 2010-06-10 10:43:24 UTC
Reassigning for further evaluation.
Comment 8 Nikita Krjukov 2010-06-10 17:21:51 UTC
I suppose the spell checker feature in NetBeans is a great idea. 
Actually I see it the first time. 

But it looks like it's implemented not only for XML files and I suppose 
it is implemented as a centralized. So I suppose somebody who implemented the general spell checking has to look it first and at least provide us with some initial instructions. So I switched it back to editor/spellchecker. 

Eventually, I'm not sure we'll be able to fix it to 6.9.1 either way.
Comment 9 Jan Lahoda 2010-06-30 12:04:18 UTC
Yes, there is generic spellchecking infrastructure, but it requires support from each language. Seems that languages other than XML work fine, so it is quite likely that the problem is in the XML provider, and investigations should start there. Look for TokenList{Provider} in spellchecker.bindings.htmlxml.
Comment 10 Petr Jiricka 2011-03-01 17:52:18 UTC
The spellchecker is off by default for XML, probably just because the buggy behavior. Given the fact it is off by default, I don't think this is a 7.0 stopper.
Comment 11 Petr Jiricka 2011-03-09 13:33:48 UTC
Requesting a waiver for NetBeans 7.0.
Comment 12 Petr Jiricka 2011-03-11 17:19:29 UTC
Waiver approved.
Comment 13 Petr Jiricka 2011-05-04 12:50:39 UTC
Requesting a waiver for NetBeans 7.0.1.
Comment 14 Petr Jiricka 2011-05-06 14:51:48 UTC
Approved.
Comment 15 David Strupl 2011-09-20 07:50:41 UTC
I have just played with spellchecker in a XML file after forcing enable on spell check for XML via not making it hidden in the layer file. Seems to work very well for me. So after solving #202316 or some feedback from that issue this report will most likely be fixed as well (just need to check).
Comment 16 David Strupl 2011-09-30 14:14:02 UTC
After Jarda fixed 202316 and I have changed this:
http://hg.netbeans.org/jet-main/rev/98935a4e037d
it seems to work for me. Please verify after this change gets into a published build.