xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
Re: [XOM-interest] XML-heading causes IOException[Scanned]
- From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
- To: MULS PATRICK <patrick.muls AT datassur.be>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] XML-heading causes IOException[Scanned]
- Date: Sat, 23 Aug 2003 10:39:31 -0400
I've looked into this a little more. I'm pretty certain this is caused by a bug in how Java resolves Files into URLs on Windows. The problem does not occur on Unix. I can probably work around it in the next release of XOM. In the meantime, instead of calling builder.build(flXml) in lezenXML try this instead:
builder.build(flXml.toURL().toExternalForm())
In my tests this works. At least, I think this works. It generates a lot of output in Dutch, and no exceptions. I assume that's what's expected.
--
Elliotte Rusty Harold
elharo AT metalab.unc.edu
Processing XML with Java (Addison-Wesley, 2002)
http://www.cafeconleche.org/books/xmljava
http://www.amazon.com/exec/obidos/ISBN%3D0201771861/cafeaulaitA
-
RE: [XOM-interest] XML-heading causes IOException[Scanned],
MULS PATRICK, 08/20/2003
- RE: [XOM-interest] XML-heading causes IOException[Scanned], Elliotte Rusty Harold, 08/20/2003
- RE: [XOM-interest] XML-heading causes IOException[Scanned], Francois Beausoleil, 08/20/2003
-
Re: [XOM-interest] XML-heading causes IOException[Scanned],
François Beausoleil, 08/20/2003
-
Re: [XOM-interest] XML-heading causes IOException[Scanned],
Elliotte Rusty Harold, 08/21/2003
-
Re: [XOM-interest] XML-heading causes IOException[Scanned],
Elliotte Rusty Harold, 08/23/2003
- [XOM-interest] XOM 1.0d20 Cleaning Windows, Elliotte Rusty Harold, 08/24/2003
- Re: [XOM-interest] XML-heading causes IOException[Scanned], Elliotte Rusty Harold, 08/25/2003
-
Re: [XOM-interest] XML-heading causes IOException[Scanned],
Elliotte Rusty Harold, 08/23/2003
-
Re: [XOM-interest] XML-heading causes IOException[Scanned],
Elliotte Rusty Harold, 08/21/2003
- <Possible follow-up(s)>
- RE: [XOM-interest] XML-heading causes IOException[Scanned], MULS PATRICK, 08/20/2003
Archive powered by MHonArc 2.6.24.