xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Jason Bennett <jasonab AT acm.org>
- To: XOM-interest AT lists.ibiblio.org
- Subject: [XOM-interest] File path w/space
- Date: Thu, 16 Jan 2003 00:04:46 -0500
I'm trying to parse an XML file, by calling the build method in Builder, passing a File object.
If, however, I pass a file object where the complete filename includes a directory name with a space, XOM throws an exception:
nu.xom.MalformedURIException: URIs cannot contain 0x20
at nu.xom.Verifier.checkURI(Verifier.java:201)
Now, I understand why URIs cannot have spaces, and I figure that I could pass a stream instead of a File. Am I just not allowed to pass a File object if that object could have a space in the path? I don't know of any way to URI'ize a File object.
jason
--
Jason Bennett, jasonab AT acm.org
E pur si muove!
-
[XOM-interest] File path w/space,
Jason Bennett, 01/16/2003
-
Re: [XOM-interest] File path w/space,
Laurent Bihanic, 01/16/2003
- Re: [XOM-interest] File path w/space, Jason Bennett, 01/17/2003
- Re: [XOM-interest] File path w/space, Elliotte Rusty Harold, 01/16/2003
-
Re: [XOM-interest] File path w/space,
Laurent Bihanic, 01/16/2003
Archive powered by MHonArc 2.6.24.