File:  [Public] / xmlschema / pc-shrinkwrap
Revision 1.12: download - view: text, annotated - select for diffs
Thu Oct 7 13:40:09 2004 UTC (19 years, 7 months ago) by ht
Branches: MAIN
CVS tags: HEAD
2.8

    XSV -- The HCRC/W3C XML Schema validator                  
        Release 2.8, October 2004
     Henry S. Thompson and Richard Tobin

Introduction
------------

XSV is a command-line tool for performing schema-validity
assessment of XML documents in accord with the
W3C XML Schema specification [1], [2].

For an introduction to XML Schema, see the Primer [3].

This distribution is governed by a licence: see the
accompanying Copyright and/or COPYING files for
details.

See the accompanying xsv-status.html file for modest
documentation.

Changes
-------

Version 2.8 is a minor new feature release, plus bugfixes

Numeric exponents in content models are now mapped onto counters in an
augmented Finite State Automaton.  This means some marginal
not-known-to-ever-occur uses of nested numeric exponents will give
warnings and may fail to correctly validate some instances.  Please
let us know if this bites you.

New switches: -n to output the input document, with defaults and
normalised values;
              -u to provide a base URI for the command line args

Version 2.7 is a minor new feature release, plus bugfixes

Change default behaviour to _not_ preserve the temporary file created
to catch low-level parsing errors, and added a -e command line switch
to override this (i.e. use -e to preserve the file)

Improved handling of block/final and less duplicated effort in chasing
schema files.  Also missing schema doc at otherwise unknown NS URI no
longer blocks validation.

Version 2.6 is a bugfix release

Version 2.5 is a bugfix release

Version 2.4 changes -r alt to only dump the augmented infoset of the
input elements and attributes, without the separate schema components.
Use -r -r to get the components other than those from the schema for
schemas itself, and -r -r -r for everything.

Other new command line switches are -E to force the document element
name and -T to force the type definition used to start validation.
Both of these take arguments of the form

  ( '{' namespaceName '}' )? localName

Version 2.3 adds a -N command line switch and accompanying support for
suppressing the dereferencing of namespace URIs in search of schema
documents, and the ability to pass a single schema document in via
standard input with the -i switch.

Version 2.2 adds support for dates, times and dateTimes, as well as
ID/IDREF.

Version 2.1 encorporates a major shift to using actual values instead
of lexical forms for checking enumerations and fixed values.

Version 2.0 constitutes a significant restructuring of the source code
into modules and packages, and is only guaranteed to work with Python
2.2 and above.  This should not be visible to the user,
but may introduce some changes in behaviour.  Some additional
command-line facilities are provided, including the ability to force
the top-level element to have a particular name and/or type.

Version 1.4 introduces a cheap-but-effective approximation to
enforcement of the constraints on derivation by restriction for
complex type definitions.  This works by enforcing the subset
invariant, and rejects any content model for a type definition derived
by restriction which allows anything _not_ allowed by the base type
definition's content model.  This is slightly weaker than the REC:
i.e. everything it rules out is ruled out by the REC, but a few things
ruled out by the REC will not be caught.

Version 1.3 switches to pre-validating all schema documents involved
in a validation with a pre-compiled schema-for-schemas (previously
pre-validation was done with the DTD for schemas).

Version 1.2 is intended for use with the REC version of XML Schema, and the
http://www.w3.org/2001/XMLSchema namespace.

The main change beyond bug-fixes and modestly extended coverage
between version 1.0 and 1.1 is the addition of reflected post
schema-validation infoset output -- use the -r command line switch.

[1] http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/
[2] http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/
[3] http://www.w3.org/TR/2001/REC-xmlschema-0-20010502/

Webmaster