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.
[20040114] HTML syntax parser produces wrong token ids when getTokenChain(...) is called on a specific offset. to reproduce: 1) have a piece of text for example "<table>" in a document 2) when getTokenChain method is called for offset 0 in this string then tokens are OK. 3) when getTokenChain is called on position between 'e' and '>' the syntax recognizes the '>' as an open-tag instead of close-tag.
Cannot reproduce it now - I have created a unit test JspSyntaxSupportTest.testTokenChainInHTMLTag() which dumps token chains on various offsets of a test file. It proves that tokenchain is correct in the example mentioned in this issue.
verified by the unit test