Link to home
Start Free TrialLog in
Avatar of fylix0000
fylix0000

asked on

Question about parsing XML.

Hi, I have a simple web.xml file which I use DOM parsing to parse the elements in them to do find and replace function on that file.
On my machine I noticed that I get the header below after I sucessfully parsed my file.

<?xml version="1.0" encoding="ISO-8859-1"?>  
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

However, I sent this as part of the application to a client and he can not get the function find and replace to work.  I really have no idea why or where to start to find out the reason for this.  From your experience, do you think different machine created different type of xml header and thus changes the characteristic of the file and make them unparsable?  


ASKER CERTIFIED SOLUTION
Avatar of Ajay-Singh
Ajay-Singh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fylix0000
fylix0000

ASKER

Thanks