Re: [bdbxml] XMLInputStreams and regular InputStreams and w3c DOM objects.

John Snelson <[email protected]> Wed, 28 Sep 2005 13:16:14 +0100
Newsgroups gmane.comp.db.dbxml.general
Message-ID <[email protected]>
Moe wrote:
> OK, and how am I supposed to use:
> 
> public XmlInputStream createURLInputStream(String baseId,
>                                            String systemId,
>                                            String publicId)
> 
> What are baseId, systemId and publicId standing for? Are there any usage
> examples online?

mgr.createURLInputStream("", "file:...", "");

The good news is that I spent a day working on the Java version of 
XmlInputStream, and I have now made it so that it can be properly 
derived from. I have also implemented a constructor function for an 
XmlInputStream that takes a java.io.InputStream - so you will be able to 
use your favourite java stream instead. This will be available in the 
2.2 release of DB XML - which should be out pretty soon.

John

-- 
John Snelson, Berkeley DB XML Engineer
Sleepycat Software, Inc
http://www.sleepycat.com

Contracted to Sleepycat through Parthenon Computing Ltd
http://blog.parthcomp.com/dbxml


------------------------------------------
To remove yourself from this list, send an
email to [email protected]