Date Posted: October 27, 2001
Update: June 29, 2004 New zip file has been tested on Windows XP (problems with unziping have been fixed).
Tab navigation
- 1. Is there a way to have a single run of XML Schema Quality Checker check multiple XML Schemas?
- 2. Which version of W3C XML Schema is accepted as input?
- 3. Can I get the output sent to standard out?
- 4. Can I view the output with a browser such as Internet Explorer?
- 5. Does this tool allow me to supply an instance document and have it validated against the schema?
- 6. For schemas in multiple documents referencing each other with include, redefine, or import, does the check cover the entire set of documents?
- 7. Can schemas that occur as the content of an element of another vocabulary, such as Web Services Description Language or XForms, be checked without extracting them first?
- 8. What version of Web Services Description Language is accepted as input?
- 9. What version of XForms is accepted as input?
1. Is there a way to have a single run of XML Schema Quality Checker check multiple XML Schemas?
Yes, there are 4 different ways (and they can even be used together):
- List more than one file name on the command line
- Use a filespec, such as *.xsd or PO*.*
- Tell the tool to look for names matching the filespec in this directory and all nested (and indirectly nested) directories, using the -r command line option.
- List a file that has XML Schemas as the content of an element that can occur more than once in a containing vocabulary (such as WSDL or XForms), and each of the contained schemas will be checked (if an option such as -wsdl, -xform, or -emb is used).
2. Which version of W3C XML Schema is accepted as input?
The version specified on May 2, 2001, as a W3C Recommendation is accepted. This version is described in XML Schema, in "Part 0: Primer," "Part 1: Structures," and "Part 2: Datatypes."
3. Can I get the output sent to standard out?
Yes, this is the default.
4. Can I view the output with a browser such as Internet Explorer?
If the -reportAsXML filename option is used, the output can then be viewed with Internet Explorer, or a viewable HTML file can be created by the processing of the output through an XSLT engine, such as Xalan, with supplied stylesheets.
5. Does this tool allow me to supply an instance document and have it validated against the schema?
No. Validating parsers, such as Xerces, should be used for this function.
6. For schemas in multiple documents referencing each other with include, redefine, or import, does the check cover the entire set of documents?
Yes. If the schemaLocation attributes on these elements can be de-referenced, XML Schema Quality Checker will load all documents and include them in the quality check. Depending upon whether you accept the default of -entireSchemaValid or use -requireEachDocumentValid, the tool may issue additional messages (with the second option) if the documents are not valid schemas by themselves, even if they are valid when viewed as a whole.
7. Can schemas that occur as the content of an element of another vocabulary, such as Web Services Description Language or XForms, be checked without extracting them first?
Yes. Use the option -wsdl or -xform. If there is another vocabulary and you have the schema that describes it (the "schema" may appear as the content of an element), use option -emb. In this case, make sure that you also use option -schemaLocation namespace location or noNSSchemaLocation location to specify the location of the schema to which the root element conforms.
8. What version of Web Services Description Language is accepted as input?
Version 1.1, specified on March 15, 2001, as a W3C Note: This version is described in Web Services Description Language (WSDL) 1.1.
9. What version of XForms is accepted as input?
Version 1.0, specified on November 12, 2002, as a W3C Candidate Recommendation. This version is described in XForms 1.0.
