473,320 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Catch all errors at once with Validation (XMLSpy or other software)

Hi all,
I used XMLSpy to validate my XML but it catched one error at a time.
Is there anyway to make XMLSpy to catch all errors at once. If XMLSpy
does not have this feature, what software out there can do this? I
have a very large document with many related files and validating one
by one is a hassle. I want to see all errors and fix it all before
coming back to validate again. Thanks.

Feb 20 '07 #1
6 4456
On 20 Feb., 03:02, quang...@gmail.com wrote:
I want to see all errors and fix it all before coming back to validate again. Thanks.
You could try ValidatorBuddy from http://www.spycomponents.com which
supports the Xerces validator (also Saxon if installed) and those
would show you all errors at once.

Regards

Feb 20 '07 #2
qu******@gmail.com wrote:
Hi all,
I used XMLSpy to validate my XML but it catched one error at a time.
Is there anyway to make XMLSpy to catch all errors at once. If XMLSpy
does not have this feature, what software out there can do this? I
have a very large document with many related files and validating one
by one is a hassle. I want to see all errors and fix it all before
coming back to validate again. Thanks.
Many validators do this but if the file is very badly formed, some
errors may make later mistakes so badly broken that it will have to give
up, so most of them have a (resettable) limit -- eg onsgmls stops after
200 errors by default.

///Peter
Feb 21 '07 #3
Liquid Technolgoies have a couple of free validators that can validate
XSD schemas, and validate XML documents against there XSD.
See http://www.liquid-technologies.com/Tools/FreeTools.aspx

Also have a look at there Graphical XSD editor (also FREE), we've been
using it for quite a while now, and its pretty much on a par with
XmlSpy, and blows Stylus studio out the water.
http://www.liquid-technologies.com/LiquidXMLStudio.aspx


On 21 Feb, 00:22, Peter Flynn <peter.n...@m.silmaril.iewrote:
quang...@gmail.com wrote:
Hi all,
I used XMLSpy to validate my XML but it catched one error at a time.
Is there anyway to make XMLSpy to catch all errors at once. If XMLSpy
does not have this feature, what software out there can do this? I
have a very large document with many related files and validating one
by one is a hassle. I want to see all errors and fix it all before
coming back to validate again. Thanks.

Many validators do this but if the file is very badly formed, some
errors may make later mistakes so badly broken that it will have to give
up, so most of them have a (resettable) limit -- eg onsgmls stops after
200 errors by default.

///Peter

Mar 4 '07 #4
On Feb 19, 9:02 pm, quang...@gmail.com wrote:
Hi all,
I usedXMLSpyto validate my XML but it catched one error at a time.
Is there anyway to makeXMLSpyto catch all errors at once. IfXMLSpy
does not have this feature, what software out there can do this? I
have a very large document with many related files and validating one
by one is a hassle. I want to see all errors and fix it all before
coming back to validate again. Thanks.
Hi,
Sure, XMLSpy doesn't list all the possible errors, instead if there
are any errors, it list the first one it encounters and ask you to
make any corrections before proceeding to the next error if there are
any. Ideally, I find this approach much better instead of trying to
fix all the errors reported or pick which ones to fix first. In the
meantime, we currently do have this feature logged as a feature
request. Thank you

http://www.altova.com

Mar 5 '07 #5
ja*******@gmail.com wrote:
Also have a look at there Graphical XSD editor (also FREE), we've been
using it for quite a while now, and its pretty much on a par with
XmlSpy, and blows Stylus studio out the water.
Free is good, sometimes.

And if "blows Stylus Studio" out of the water means "it looks a
little prettier," we're in agreement.

But it lacks schema refactoring, schema documentation generation,
and XML instance generation, all of which both spy and Stylus
Studio provide, and it doesn't scale with documents larger than
a few hundred K.

Empirical evidence is good, lists of pros and cons is good,
lists of features supported and not supported is also good.
Subjective statements don't help others make informed decisions
though.

On the original topic, there are lots of good validators.
Xerces from the Apache project is pretty decent, and the Saxonica
validator (http://www.saxonica.com/) has excellent diagnostics.
The .net validators and XSV also have their place.

Stylus Studio includes all of the above, including Saxon's which
we license. I've found it useful to try validating with more than
one editor, since we don't always know what environment the XSD
will be used in once it is released into the wild. And different
ones have different strengths and often catch different problems.

And most don't suffer from the one-defect-and-I-stop problem.

http://www.stylusstudio.com/xml_schema.html has more information
on validators, including IBM's Schema Quality Checker and Sun's
Multi-Schema Validator.

A free evaluation copy of Stylus Studio is available from
http://www.stylusstudio.com/xml_download.html which includes
all of the above-mentioned validators. Try it if only to decide
which validator you'd prefer, since it bundles them all in one
place.
On 21 Feb, 00:22, Peter Flynn <peter.n...@m.silmaril.iewrote:
>quang...@gmail.com wrote:
>>Hi all,
I used XMLSpy to validate my XML but it catched one error at a time.
Is there anyway to make XMLSpy to catch all errors at once. If XMLSpy
does not have this feature, what software out there can do this? I
have a very large document with many related files and validating one
by one is a hassle. I want to see all errors and fix it all before
coming back to validate again. Thanks.
Many validators do this but if the file is very badly formed, some
errors may make later mistakes so badly broken that it will have to give
up, so most of them have a (resettable) limit -- eg onsgmls stops after
200 errors by default.

///Peter

--
Tony Lavinio <DataDirect <Stylus Studio XML <al******@progress.com
XQuery, XSLT, XML Schema and EDI Toolset <http://www.stylusstudio.com/
<There is no problem that brute force and ignorance cannot overcome <>
Mar 5 '07 #6
Visual Studio reports all errors it finds. Express version of VS is free
and can be downloaded from http://msdn.microsoft.com/vstudio/express/

--
Stan Kitsis
Program Manager, XML Technologies
Microsoft Corporation

On Feb 19, 9:02 pm, quang...@gmail.com wrote:
Hi all,
I usedXMLSpyto validate my XML but it catched one error at a time.
Is there anyway to makeXMLSpyto catch all errors at once. IfXMLSpy
does not have this feature, what software out there can do this? I
have a very large document with many related files and validating one
by one is a hassle. I want to see all errors and fix it all before
coming back to validate again. Thanks.

Mar 8 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: kevin bailey | last post by:
hi there, since we're now using xmlspy extensively to work with xml docs i wondered if there was a NG which could be used to discuss issues more specific to xmlspy. is this the right NG to...
0
by: Ray Tayek | last post by:
hi, trying to convert some csv files into xsml and pulling a few hairs out :(. using the files below. a java program will parse the csv and take care of strange names and notes that line breaks in...
23
by: VB Programmer | last post by:
Variable scope doesn't make sense to me when it comes to Try Catch Finally. Example: In order to close/dispose a db connection you have to dim the connection outside of the Try Catch Finally...
8
by: wolf_y | last post by:
Firstoff, I'm a SAS programmer, new to XML, and was assigned the task of designing a process to validate customer submitted XML files. As the frontend of a database loading process we plan to use...
32
by: cj | last post by:
Another wish of mine. I wish there was a way in the Try Catch structure to say if there wasn't an error to do something. Like an else statement. Try Catch Else Finally. Also because I...
2
by: robert | last post by:
When employing complex UI libs (wx, win32ui, ..) and other extension libs, nice "only Python stack traces" remain a myth. Currently I'm hunting again a rare C-level crash bug of a Python based...
0
by: Connected | last post by:
The following info could be useful for anyone getting weird behaviour after installing Altova xmlSPY (so aptly named!) I've just wasted 3 days of my life trying to find out why I've lost network...
2
by: Connected | last post by:
The following info could be useful for anyone getting weird behaviour after installing Altova xmlSPY (so aptly named!) I've just wasted 3 days of my life trying to find out why I've lost network...
1
by: Connected | last post by:
The following info could be useful for anyone getting weird behaviour after installing Altova xmlSPY (so aptly named!) I've just wasted 3 days of my life trying to find out why I've lost network...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.