LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-05-2008, 11:37 AM   #1
ufmale
Member
 
Registered: Feb 2007
Posts: 378

Rep: Reputation: 30
mal-format xml checking tool


I have a XML file contains 50,000 entry of data.
There are mal-format of data somewhere, but I could not find it.

It shows error on a certain location after entry 4526th as following

Code:
The XML page cannot be displayed 

Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. 


--------------------------------------------------------------------------------

Not enough storage is available to complete this operation
After deleting any entry after 4526th, the IE seems to show the data correctly. So i continue adding more entries. So far, i added up to 5000th, IE still shows the data correctly. I am not sure what entry really create the problem.

Is there a tool to check the XML format and report the problem on the exact location.

Note, i have another software trying to read this xml, but it report a problem in a wrong location as well.

Last edited by ufmale; 09-05-2008 at 11:39 AM.
 
Old 09-05-2008, 12:50 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,858
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

Different versions of Internet Explorer can croak for many different reasons that have nothing to do with whether or not the XML file is valid. I suspect whatever happened was probably an IE problem, not an XML problem.

For whatever it's worth, the best XML validation tool available is "XMLSpy". Unfortunately, it's not inexpensive, but you can download a trial version for free:

www.Altova.com/XMLSpy

Here are a couple of other links:
http://en.wikipedia.org/wiki/XMLSpy
http://www.w3schools.com/Dom/dom_validate.asp
http://www.ibm.com/developerworks/xm...lvalidapi.html

'Hope that helps .. PSM
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for XML::Parser... configure: error: XML::Parser perl module is required for kornerr Linux - General 11 11-16-2008 07:24 AM
get mail from remote mal server ssilayaraja Linux - Networking 3 04-17-2008 05:24 AM
Any memory leak checking tool? George2 Programming 2 06-21-2006 10:26 AM
LXer: Is Microsoft's XML Format About Openness or Control? LXer Syndicated Linux News 0 12-28-2005 12:16 PM
(video format here).xml wtf? SciYro Linux - General 2 06-22-2004 09:36 PM


All times are GMT -5. The time now is 08:57 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration