• 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 on Tomcat 5

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

We have a headache issue. We have a VB application on Windows, the application needs to transfer a xml data file to servlets on Tomcat 4.0.3 server (Linux system). Currently, we need to update to Tomcat 5. However, when we finished the updating, we found the transfered xml data file that servlets on Tomcat 5 got was incorrect (part of xml file). We could not figure out what was wrong with the updating to Tomcat 5. Any body can give us a help? We very appreciate. Thank you in advance.

Sheng
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is the Tomcat servlet just receiving the file as text or is it parsing the input stream as XML on the fly?
If there is a parsing error you should be getting some sort of informative exception.
Bill
 
Sheng Gu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bill,

Thank you very much for your response. The Tomcat servlets will parse the imputted XML stream and extract its data. However, it seems the servlets cannot correctly parse the imputted XML data. From searching from internet, it seems Tomcat 5 and Tomcat 4 use diffirent parse lib. Is it correct?

Sheng
 
What's brown and sticky? ... a stick. Or a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic