Monday, August 16, 2010

XML parsing issue

I tried to run a web page that gets xml data as source. It failed with 0 row. I checked the xml file and it is well formed. I tried to load another known-to-be-working xml file and it parsed ok. Seems like it just cannot work.

I then tried a very crude way. Copy the contents from another xml file and paste it into the xml file I used. The result is that there is again a 0 row. That xml is a known working file.

Finally I get it. The file name of the xml is the same as the web directory name. You will never guess it that IE rejects such xml from being loaded.

No comments:

Post a Comment