xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: teknokrat <teknokrat AT yahoo.com>
- To: xom-interest AT lists.ibiblio.org
- Subject: [XOM-interest] loading xml as a resource
- Date: Tue, 17 Jan 2006 18:22:55 +0000
I am trying to parse an xml file in my jar using
builder.build(getClass().getResourceAsStream("myfile.xml"));
I get a nu.xom.ParsingException: Premature end of file.
If I read the file into a string and pass it to the builder everything works OK. Is this how its meant to work or am I doing something silly?
thank you
-
[XOM-interest] loading xml as a resource,
teknokrat, 01/17/2006
- Re: [XOM-interest] loading xml as a resource, Elliotte Harold, 01/18/2006
Archive powered by MHonArc 2.6.24.