• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

XML parsing problem

 
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've recently run into a parsing problem with XML in jdk 1.4.2. I had a working program that would import/export data to XML under 1.3.x.
I am now trying to update my program and fix some things, but I am running into problems trying to read my old XML files. My error looks like this:

My XML files all start like this:

I had no problems with this in the old version of java, but now its not working with this relative URI that is embedded in all my old XML files. Is there some way to force java to use the current working directory to connect the relative URI to it?
Here is the pertinent section of my code:

Any thoughts? Suggestions? I'm essentially a newbie at XML, getting most of what I'v done with it from examples so far. I'm learning, but if you guys could help me out, I'd really appreciate it.
Thanks,
Chris
[ March 02, 2004: Message edited by: Chris Shepherd ]
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
May be you don't have that dtd in the correct location.
-Dimbaka
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic