[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Problem parsing XML file with Xerces-J

  • To: Peter Hunsberger <peter.hunsberger@g...>
  • Subject: Re: Problem parsing XML file with Xerces-J
  • From: Midsummer Sun <midsummer.sun@g...>
  • Date: Fri, 1 Apr 2005 21:42:28 +0530
  • Cc: xml-dev@l...
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Lq7hLDkT5s5Odql0tcGTxGfcSal2+drZroodwETOYi3aaIO5g2kzoXb7u6tq+tfRaDyDsX76lZrPNMsKixxvwWyYC2gZiPbZj4B+xBlHtHZoTz1ZHYfYJ3Nc1fs0C06rPe6pXhdvmR+DDUpl6yM6g5RNAvycfaB8yj8+EIJpm8I=
  • In-reply-to: <cc159a4a05040106424ed51393@m...>
  • References: <bb5e8b86050331053731edca96@m...> <424c03c3.421dc0eb.67bd.ffffb62bSMTPIN_ADDED@m...> <bb5e8b8605033120201ef8eb03@m...> <bb5e8b86050331203837ef2080@m...> <cc159a4a05040106424ed51393@m...>
  • Reply-to: Midsummer Sun <midsummer.sun@g...>

xerces proxy
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!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.