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.
[Nb build 200306110100, jdk1.4.1] Code completion doesn't show stuff from external DTD and entities.
Next reload document on XML with external DTD throws: UnknownHostException: nbfs. I suppose it is caused by the same issue.
Created attachment 10663 [details] Exception
In case a XML or DTD document uses external entities it affects almost all actions.
*** Issue 34324 has been marked as a duplicate of this issue. ***
I have tried with Java HotSpot(TM) Client VM 1.4.1-b21 and all goes OK. It seems that problem comes from underling JDK, investigating further...
1.4.2 FCS goes well, too.
Under JRE 1.4.1_03 works well too, closing as WORKSFORME (in project branch).
Stopper for QBuild #200306250100.
Is <nbfs://%2Fhome%2Fpk97937%2Fbugs/is34/x317/emptyDTD.dtd> valid URL? Parser denies to accept it. Original nbfs coding scheme used Q escaping. I cannot render the specification <http://www.ietf.org/rfc/rfc2396.txt>. So I tried Mozilla and it also denies URLs that contain escaping in host name. Escaping is Ok in path. Issue 31841 seems to be root of the problem.
31841 was fixed, so this problem has dispeared.
VERIFIED