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.
041011, JDK 1.5. Have nbbuild/javadoctools/apichanges.xsl opened in editor. Had tried some code completion to make sure it was working (it was). Found some repeated exceptions in my log file afterward.
Created attachment 18232 [details] Stack trace
The XML source in question is <xsl:if test="$is-first"> <h2> <xsl:apply-templates select="api"/> </h2> <!-- Need to use the slinky disable-output-escaping because we do not close the ul here: --> <!-- ** HERE ** --><xsl:text disable-output-escaping="yes"><ul></xsl:text> </xsl:if>
There is a problem with XMLSyntaxSupport.getElementChain(...) method. If there is an entity (e.g. <) item in a XML document, the method returns bad syntax element around the offset of the entity element. To be more specific the some syntax element is returned for two offsets where the second offset > first offset + token length. The fix has to be done in the syntax support but since many things rely on it I do not want to risk to change it now, a few days before high resistance. So I am going to simply comment out the code which makes the informational exception and leave this issue opened. Then we can fix it better for next release. Checking in SyntaxElement.java; /cvs/xml/text-edit/src/org/netbeans/modules/xml/text/syntax/SyntaxElement.java,v <-- SyntaxElement.java new revision: 1.11; previous revision: 1.10 done
Let's reevaluate this.
a change to xml syntax support seems to be too dangerous and not worth of the effect.
The informational exception is not thrown anymore and there aren't any other user complains about the XML CC => downgrading to P4.
Reassigning to default owner of selected subcomponent. New owners are gladly welcomed.
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team