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: Michael Kay <mike@saxonica.com>
  • Subject: Re: [xml-dev] Problem parsing XML file with Xerces-J
  • From: Midsummer Sun <midsummer.sun@gmail.com>
  • Date: Fri, 1 Apr 2005 15:29:09 +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=tY1owbsOR3+cUZcaAweNgd6cIkNmJQ135jr6nQMQ6YlL2zpJxD/AW97cLaHaJz/2yjiT3ndeHHbPbUQs/rzw3VVB9VRDzKr6h600FIBmoZTBz17suoQtZiHIEff8IGNRW3uonf5S7iTYFnjQ/KdEh3uL5FpnHHyp4pQUcXvYWlc=
  • In-reply-to: <424d15d6.5310c8e7.2ae4.7066SMTPIN_ADDED@mx.gmail.com>
  • References: <bb5e8b86050401012539223f33@mail.gmail.com> <424d15d6.5310c8e7.2ae4.7066SMTPIN_ADDED@mx.gmail.com>
  • Reply-to: Midsummer Sun <midsummer.sun@gmail.com>

On Apr 1, 2005 3:05 PM, Michael Kay <mike@saxonica.com> wrote:
> 
> I gave you the answer to this right at the beginning: create an InputSource
> based on a StringReader that reads the String "".
> 
Oh wow! This is working:
public InputSource resolveEntity(java.lang.String publicId,
                                   java.lang.String systemId)
{

    InputSource is = new InputSource(new StringReader(""));

    return is;
}

THANK YOU. 

Probably somebody could answer my HTTP question as well.

best regards,

> Michael Kay
> http://www.saxonica.com/
> 
>




 

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

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