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.
Description: [FFJ Build 010623 CE , Red Hat Linux 6.2 with JDK 1.3.1] Steps to reproduce: ------------------- 1) create XML document like this: <!DOCTYPE Books SYSTEM "ftp://localhost/dtd/simple.dtd"> <Books><Product/><Price/></Books> 2) expand the document in Explorer The definitions from the simple.dtd missing in document's tree. Evaluation: xxx@xxxx 2001-09-21 This could be problem of xerces2 parser. A comment.
Could you try to run following code: InputStream in = new URL ("ftp://localhost/dtd/...").openStream(); while (true) { System.out.print((char)in.read()); } It will test how is our URL handled by URLStreamHandler that is also used by the parser.mschovanek
Target milestone -> 3.3.1.
Waiting for response.
It looks like bug in jdk 1.3.1. The pk's code on jdk 1.3.1 throws: Exception in thread "main" sun.net.ftp.FtpProtocolException: PORT at sun.net.ftp.FtpClient.openDataConnection(FtpClient.java:219) at sun.net.ftp.FtpClient.get(FtpClient.java:315) at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:109) at java.net.URL.openStream(URL.java:798) at Main.main(Main.java:24) But on jdk 1.4.0 the code and system identifier with ftp work fine.
Let these are considered while planning next release.
Target milestone was changed from not determined to TBD
JDK bug