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

From
Midsummer Sun <>
To
Michael Kay <>
Date
2005-04-01T09:59:09Z
ID
<>
Thread
Re: [xml-dev] Problem parsing XML file with Xerces-J
On Apr 1, 2005 3:05 PM, Michael Kay <> 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/
> 
>