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.

Bug 15787 - Parser doesn`t support ftp protocol at entity`s system identifier.
Summary: Parser doesn`t support ftp protocol at entity`s system identifier.
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: TAX/Lib (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-21 13:55 UTC by issues@www
Modified: 2007-09-25 06:06 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description issues@www 2001-09-21 13:55:40 UTC
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.
Comment 1 _ pkuzel 2001-11-14 11:59:26 UTC
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
Comment 2 Jan Chalupa 2001-11-27 17:38:52 UTC
Target milestone -> 3.3.1.
Comment 3 Jan Chalupa 2001-11-27 17:42:21 UTC
Target milestone -> 3.3.1.
Comment 4 _ lkramolis 2001-12-04 17:42:53 UTC
Waiting for response.
Comment 5 Martin Schovanek 2001-12-05 10:02:25 UTC
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.
Comment 6 _ pkuzel 2002-06-03 12:26:42 UTC
Let these are considered while planning next release.
Comment 7 Marek Grummich 2002-07-19 17:29:52 UTC
Target milestone was changed from not determined to TBD
Comment 8 _ pkuzel 2003-03-17 16:19:27 UTC
JDK bug