Hi Mark,

     Xerces relies on the java.net.URL.openStream method, so whatever the
JDK does is what Xerces does.  I tried an example from Windows NT and from
AIX, and I saw anonymous FTP being used.

     I looked around for documentation on how the java.net.URL class is
supposed to handle the "file" scheme, but didn't see anything official.  I
think something more definitive and reliable than "whatever your JDK
happens to do" would be desirable for Xerces' documentation.

Thanks,

Henry
------------------------------------------------------------------
Henry Zongaro      XML Parsers development
IBM SWS Toronto Lab   Tie Line 969-6044;  Phone (905) 413-6044
mailto:[EMAIL PROTECTED]



                                                                                       
                                  
                    "Mark Brucks"                                                      
                                  
                    <[EMAIL PROTECTED]       To:     [EMAIL PROTECTED]           
                                  
                    exas.edu>            cc:                                           
                                  
                                         Subject:     file access                      
                                  
                    02/04/22 12:34                                                     
                                  
                    PM                                                                 
                                  
                    Please respond                                                     
                                  
                    to                                                                 
                                  
                    xerces-j-dev                                                       
                                  
                                                                                       
                                  
                                                                                       
                                  



I'd like to know what file access protocol is being used by Xerces to
retrieve non-local files.  The URL for both the file and the DTD are of the
form "file://<host>/<path>", and <host> specifies a machine different from
the one Xerces is running on.

The reason I'm asking is that we just moved our XML repository from an NT
server to a Solaris server.  On the NT server, we had to enable anonymous
FTP to enable Xerces to get access to the files (before we enabled
anonymous FTP we got FTP login errors - after enabling it things worked
fine).  After the move to Solaris, everything continued to work AOK.
However, our system administrator says that anonymous FTP is disabled on
our Solaris box (and indeed, trying anonymous FTP fails).

The NT error messages indicated that Xerces was using FTP, but with it
working now under Solaris with anonymous FTP turned off I can't understand
what is going on.  Can somebody enlighten me about what Xerces is using to
get to these files?

Mark Brucks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to