Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] BNUX Question

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: dao AT pobox.com
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] BNUX Question
  • Date: Tue, 31 Oct 2006 16:07:05 -0500

David Ondzes wrote:
Hello all. I need your expert advice. I am still kinda new to xml and
not sure if I can work around this problem by using another parser. I
am getting a parser exception (below) because (I assume) the path to
the dtd contains spaces. Is it possible to configure xerces to work
with spaces ? Or is there another parser I should try ?

<!DOCTYPE MLB_SCORING_UPDATE SYSTEM "xmldtds/Major League
Baseball/MLB_SCORING_UPDATE.dtd">


The system ID is supposed to be a URL. IN a URL spaces are usally escaped as %20 or perhaps +. try changing your DOCTYPE as follows:

<!DOCTYPE MLB_SCORING_UPDATE SYSTEM "xmldtds/Major%20League%20Baseball/MLB_SCORING_UPDATE.dtd">

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/



  • Re: [XOM-interest] BNUX Question, Elliotte Harold, 10/31/2006

Archive powered by MHonArc 2.6.24.

Top of Page