[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Re: Getting info of runtime failure in saxon environment


Subject: Re: [xsl] Re: Getting info of runtime failure in saxon environment
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxx>
Date: Tue, 26 Feb 2013 15:41:38 -0500

Hi Karl,

I'm afraid your question doesn't have a single answer. It depends on
too many local factors.

There are plenty of XML processors available which you can use to test
files for basic syntactic correctness (well-formedness); any computer
you buy nowadays already comes with several. Your browser is one. You
could ask your users to open their files in a browser and make sure
they don't get syntax errors.

But when they make mistakes and have to fix something, what will they
be able to do to correct them? They probably need better feedback than
an ugly error message if something is wrong, or not much of anything
if everything is okay. What applications are they already using to
create and edit their XML?

Building this kind of workflow means not only deploying the tools, but
also providing the support. In fact, I think the support comes first.
If your users don't have the technical expertise to be responsible for
themselves, you need someone whose role it is to share the
responsibility and to help others learn to do so. They will find (or
build) tools that work well for the problem domain and the tools the
users are already familiar with. These might be lightweight XML
editors, or web services where you can upload files, or command-line
utilities that can be called from a text editor, or any number of
other things.

Cheers, Wendell




On Sun, Feb 24, 2013 at 3:58 PM, Karlmarx R <karlmarxr@xxxxxxxxx> wrote:
> Thanks Wendell.
>
>
> Btw, on the point that>"solution is to parse your XML files with another
utility before running them" I agree, but are there any free utility that can
you can recommend for people with less xml knowledge to use? I mean to be used
by data handlers to check themself. Out problem is that we need to provide
some mechanism to out non-tech people so that they can check and loaded into a
automated process. Any suggestions?
>
> Thanks,
> Karl
>



--
Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables
_____oo_________o_o___ooooo____ooooooo_^


Current Thread
Keywords