473,714 Members | 2,398 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4508
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.s ilmaril.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.s ilmaril.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******@progre ss.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
1658
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 use - or is there a more appropriate one? thanks,
0
2167
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 them. eventiually i want to generate the xslt from a xml file (all the files and java code are at http://tayek.com/~ray/spy1/). the java code (1.4) does the right thing (it just does the transformation). xmlspy seems really broken when i hit...
23
3073
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 block. But, I prefer to dim them "on the fly" only if needed (save as much resources as possible). A little further... I may wish to create a sqlcommand and datareader object ONLY if certain conditions are met. But, if I want to clean these up in the...
8
1384
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 XMLSpy When a file fails validation, we want to return it with sufficient information for accurate correction. I just learned from Altova's tech support that it's not possible to capture such information at this time (planned for a future...
32
6119
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 understand Finally runs whether an error was caught or not, I haven't found a use for finally yet.
2
2294
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 Windows app with rare user reports - and still in the dark (I get snippets of machine stack traces / screenshots with random "mem. access error" / "python caused the runtime to terminate in an unusual way" / ..) I'd like to hook a kind of quality...
0
1919
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 browsing capabilty (network neighborhood) on my xp home network. Recently installed XMLSPY was to blame. Without my permission (other than a vague meaningless sentence in the EULA), Altova's install program opened ports on my firewall and wrote...
2
2048
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 browsing capabilty (network neighborhood) on my xp home network. Recently installed XMLSPY was to blame. Without my permission (other than a vague meaningless sentence in the EULA), Altova's install program opened ports on my firewall and wrote...
1
7677
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 browsing capabilty (network neighborhood) on my xp home network. Recently installed XMLSPY was to blame. Without my permission (other than a vague meaningless sentence in the EULA), Altova's install program opened ports on my firewall and wrote...
0
8712
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9177
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9077
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9021
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7954
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4465
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3159
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2524
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.