OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Problem parsing XML file with Xerces-J

[ Lists Home | Date Index | Thread Index ]
  • To: Peter Hunsberger <peter.hunsberger@gmail.com>
  • Subject: Re: [xml-dev] Problem parsing XML file with Xerces-J
  • From: Midsummer Sun <midsummer.sun@gmail.com>
  • Date: Fri, 1 Apr 2005 21:42:28 +0530
  • Cc: xml-dev@lists.xml.org
  • 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@mail.gmail.com>
  • References: <bb5e8b86050331053731edca96@mail.gmail.com> <424c03c3.421dc0eb.67bd.ffffb62bSMTPIN_ADDED@mx.gmail.com> <bb5e8b8605033120201ef8eb03@mail.gmail.com> <bb5e8b86050331203837ef2080@mail.gmail.com> <cc159a4a05040106424ed51393@mail.gmail.com>
  • Reply-to: Midsummer Sun <midsummer.sun@gmail.com>

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@gmail.com> wrote:
> On Mar 31, 2005 10:38 PM, Midsummer Sun <midsummer.sun@gmail.com> 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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS