[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: W3C XML Schema Test Collection


griffin schema
Title: RE: W3C XML Schema Test Collection
This is one area where Schematron shines. The schema author can define the diagnostic messages to present to the user. Schematron seems to be the only schema language that is actually designed to be useful to document authors. Other schema languages just focus on being a formalized language for expressing constraints without any focus on usability aspects -- especially for documents that are in the process of being constructed.
 
I'm not sure that standardized error messages are the solution, though. I don't think a large committee will solve this problem well. I think vendors need to put more effort into having more friendly and useful error messages. This *can* be done. C++ compilers are notorious for their obtuse error messages, but I have used compilers (Metrowerks comes to mind) that do a far better job of providing clear, useful error messages than other vendors' compilers. XML Schema may not help, here, but that's no excuse for some of the obtuse error messages that many validators emit. They won't be able to do as well as Schematron, but they could do far better than they currently do if the vendors/developers simply made the committment to address this.
 
However, I will say that I think it would be great if we had some lightweight standards for specific annotations that could be used to support tools -- e.g. tooltip text, diagnostic messages for invalid constructs, and XLinks pointing to documentation. It would be great to have interoperable ways of leveraging schemas more fully to drive tools, and in a way that is genuinely useful to users who often won't be XML or schema experts.
-----Original Message-----
From: Rob Griffin [mailto:Rob.Griffin@o...]
Sent: Thursday, March 21, 2002 2:31 PM
To: Jonathan Robie; xml-dev@l...
Subject: RE: W3C XML Schema Test Collection

Jonathan,

I'd also like to suggest that the XML Schema WG produce
a list of recommended error messages for validator authors.

I realize that this is a very big job, and it's hard to
produce a complete list, but it would be very helpful if
all conforming validators emitted the same message for the
same error. Perhaps a starting point would be to ask
validator authors to list the error messages they use
together with the circumstances that trigger them.

I'm currently trying to implement XML Schema using Xerces
and some of the messages are very obscure, and from some
of the postings on this topic it appears the same error
can produce error messages that have vastly different
levels of meaning.

Apologies to the list if this mail appears in HTML format.
We are using Exchange and it puts all e-mail into HTML format!
We are waiting on an upgrade to fix this.
 
Regards,

Rob Griffin
Quest Software

E-mail: Rob.Griffin@o...
Web site: http://www.quest.com 

> -----Original Message-----
> From: Jonathan Robie [mailto:jonathan.robie@s...]
> Sent: Friday, March 22, 2002 1:36 AM
> To: xml-dev@l...
> Subject: W3C XML Schema Test Collection
>
>
> Executive summary:
>
> 1. XML Schema test suites exist, and are being maintained by
> the W3C. This
> may be one of our best points of leverage.
> 2. The public is encouraged to add cases to the test suites
> 3. Some test results are available online for various products
>
> Here are the details:

[snip]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.