W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2006

RE: Schema Validator

From: Grattan, Steven <grattans@visa.com>
Date: Thu, 5 Oct 2006 09:39:30 +0100
Message-ID: <52E8BBECB0E7CE49B2F87C7FA3F203D101D276EB@sw610ex025>
To: <noah_mendelsohn@us.ibm.com>, "Michael Kay" <mike@saxonica.com>
Cc: <xmlschema-dev@w3.org>

Thanks for the info guys. 

I did find another online tool, http://schneegans.de/sv/, that
highlights the line that's in error in my schema. Now I just have to
work out how to correct it! I may be sometime... :)

Cheers,
Steve

-----Original Message-----
From: noah_mendelsohn@us.ibm.com [mailto:noah_mendelsohn@us.ibm.com] 
Sent: 04 October 2006 19:04
To: Michael Kay
Cc: Grattan, Steven; xmlschema-dev@w3.org
Subject: RE: Schema Validator

Some users have had good luck with the Schema Quality Checker [1].  That

tool does not validate instances against schemas.  Its sole purpose is
to 
look at your schema, explain any outright errors, and (if I remember 
correctly) sometimes to warn you of things that are technically correct 
but suspect.  An FAQ about it is at [2].

Noah

[1] http://www.alphaworks.ibm.com/tech/xmlsqc
[2] http://www.alphaworks.ibm.com/tech/xmlsqc/faq

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------








"Michael Kay" <mike@saxonica.com>
Sent by: xmlschema-dev-request@w3.org
10/04/2006 01:26 PM
 
        To:     "'Grattan, Steven'" <grattans@visa.com>, 
<xmlschema-dev@w3.org>
        cc:     (bcc: Noah Mendelsohn/Cambridge/IBM)
        Subject:        RE: Schema Validator


There are a number of tools for validating schemas (and for validating 
instance documents against a schema) - it's not clear from your message 
which one you are using. It can be difficult to understand the messages 
when you're new to the spec, since the messages will tend to refer to
the 
rules that you've broken and some of the rules are very technical. A
good 
strategy might be to post your incorrect schema, and the message you are

getting, and asking here for an explanation. You could also consider 
installing a tool such as Stylus Studio which gives you a choice of 
several schema validators. This can be useful because the error message 
from one product might be clearer than another.
 
Michael Kay
http://www.saxonica.com/

From: xmlschema-dev-request@w3.org [mailto:xmlschema-dev-request@w3.org]

On Behalf Of Grattan, Steven
Sent: 04 October 2006 16:30
To: xmlschema-dev@w3.org
Subject: Schema Validator

Hi,
 
I'm new to XML Schemas. I've submitted a schema for validation by your 
tool but I can't understand the output. Is it possible to indicate where

in the schema the errors are occurring and possible suggestions for 
resolutions?
 
I know it's a big ask but newbies need the most help.
 
Thanks in advance,
Steve
This email (including attachments) is confidential and is solely
intended 
for the addressee. Unless you are the addressee, you may not read, use
or 
store this email in any way, or permit others to. If you have received
it 
in error, please contact Visa Europe on +44 (0)20 7937 8111. 

This email (including attachments) is confidential and is solely intended for the addressee. Unless you are the addressee, you may not read, use or store this email in any way, or permit others to. If you have received it in error, please contact Visa Europe on +44 (0)20 7937 8111.
Received on Thursday, 5 October 2006 08:40:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:55 GMT