xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Francois Beausoleil" <fbos AT users.sourceforge.net>
- To: "Elliotte Rusty Harold" <elharo AT metalab.unc.edu>, "MULS PATRICK" <patrick.muls AT datassur.be>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] XML-heading causes IOException
- Date: Tue, 19 Aug 2003 14:29:24 -0400
I agree with Eliotte that without seeing the document it is hard to guess
what's wrong. But I would think that an IOException is possible, if the
DOCTYPE refers to a DTD that is unavailable somehow.
Hope that helps,
François
On Tue, 19 Aug 2003 06:52:53 -0400, "Elliotte Rusty Harold"
<elharo AT metalab.unc.edu> said:
> >Hello,
> >
> >I'm trying out XOM for an upcoming project. I created an XML-file
> >containing <?xml version ...> and <!DOCTYPE ...> tags and a comment-tag.
> >When I try to build the document in my application using:
> > Builder builder = new Builder();
> > Document doc = builder.build(flXml);
> >I get an IOException on the file. Removing those 3 tags from the file
> >solves this problem. But will they not always be present in an XML-file?
> >And having to remove them first seems a timewaisting operation. Any
> >suggestions?
> >
>
> You have not provided enough information to diagnose the problem.
> Seeing the actual XML document and code would be required to tell
> what's going on here. probably your document is malformed and you're
> getting an XMLException, not an IOException, but that's just a guess
> without seeing the code.
> --
>
> 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
> _______________________________________________
> XOM-interest mailing list
> XOM-interest AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/xom-interest
Developer of Java Gui Builder
http://jgb.sourceforge.net/
-
[XOM-interest] XML-heading causes IOException,
MULS PATRICK, 08/19/2003
-
Re: [XOM-interest] XML-heading causes IOException,
Elliotte Rusty Harold, 08/19/2003
- Re: [XOM-interest] XML-heading causes IOException, Francois Beausoleil, 08/19/2003
-
Re: [XOM-interest] XML-heading causes IOException,
Elliotte Rusty Harold, 08/19/2003
Archive powered by MHonArc 2.6.24.