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.
It takes on PIII@600 1,5-3s. ..vcs.advanced.variables.VariableIO uses DOM's getElementsByTagName(). This approach can be replaced by very simple SAX handler.
You mean VariableIO.getConfigurationLabel(Document) method? Is there a better way how to get the first element? It would be perhaps better to reuse VariableIO.getConfigurationLabelAndOS() method, that uses SAX.
Node.getFirstChild may help. However you must guarantee that dom.Document is not be garbage collected between several usages. XMLDataObject weak references it and parses it on demand again and again. LabelContentHandler uses minimal in-memory model so it is the best solution (fast).
O.K. I'll use LabelContentHandler. Thanks.
Is this issue still relevant in new projects (NB 4.0)?
I don't think so .. :-)
So let's close it, just reminding there is still issue 27741.
Okay, agreed.