|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Problem parsing XML file with Xerces-J
I was able to solve the problem with Michael Kay's kind help .. I also thank you for the suggestion. I guess you were right! I misunderstood what you wrote.. Now I am eagerly waiting for an explanation for my HTTP question... My program is accessing the remote URL (its a normal HTTP url running a Servlet) via a proxy server. My HTTP problem relates to accessing remote DTDs via HTTP. The DocumentBuilder.parse method is making connection to the remote location. It is using the java.net package "internally". Is there a way to provide proxy server parameters(userid/password) in this internal call? I guess java.net package classes do provide mechanism to pass proxy server parameters. I'll check.. But here the problem is intervening with the parser's implementation. Just wishing it is possible via some standard property file or a parameter to the Xerces/JAXP API.. I might even be wrong in my above statements. There might be a obvious method (even via proxy server) . Something like a obvious existence of solution at TCP/IP level ;) I'll be grateful for any information this regard. I know people from Sun(owners of JDK; now jointly with IBM and others) and IBM(owners of Xerces) are members of this list. I'll be grateful if they intervene and clarify my doubts.. Thanks and best regards, On Apr 1, 2005 8:12 PM, Peter Hunsberger <peter.hunsberger@g...> wrote: > On Mar 31, 2005 10:38 PM, Midsummer Sun <midsummer.sun@g...> wrote: > > Sorry this does'nt work! I get the exception: java.net.MalformedURLException > > > > best regards, > > Which of course has nothing to do with the throws declarations; now > you're passing it a bad URL.... But from your other posts it appears > you've got that fixed. > > <snip/> > > -- > Peter Hunsberger >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








