0
|
1 |
Release Notes for minixsv, Release 0.3
|
|
2 |
|
|
3 |
minixsv is a XML schema validator written in "pure" Python.
|
|
4 |
|
|
5 |
Currently only a subset of the XML schema standard is supported
|
|
6 |
(list of limitations/restrictions see below).
|
|
7 |
|
|
8 |
minixsv currently uses minidom or elementtree as XML parser
|
|
9 |
Other parsers can easily be adapted by implementing an appropriate interface class
|
|
10 |
Whitespaces inside strings are automatically normalized/collapsed as specified in the XML schema file
|
|
11 |
Default/Fixed attributes are automatically inserted if not specified in the input file
|
|
12 |
|
|
13 |
--------------------------------------------------------------------
|
|
14 |
The minixsv XML schema validator is
|
|
15 |
|
|
16 |
Copyright (c) 2004 by Roland Leuthe
|
|
17 |
|
|
18 |
By obtaining, using, and/or copying this software and/or its
|
|
19 |
associated documentation, you agree that you have read, understood,
|
|
20 |
and will comply with the following terms and conditions:
|
|
21 |
|
|
22 |
Permission to use, copy, modify, and distribute this software and
|
|
23 |
its associated documentation for any purpose and without fee is
|
|
24 |
hereby granted, provided that the above copyright notice appears in
|
|
25 |
all copies, and that both that copyright notice and this permission
|
|
26 |
notice appear in supporting documentation, and that the name of
|
|
27 |
the author not be used in advertising or publicity
|
|
28 |
pertaining to distribution of the software without specific, written
|
|
29 |
prior permission.
|
|
30 |
|
|
31 |
THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD
|
|
32 |
TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT-
|
|
33 |
ABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR
|
|
34 |
BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
|
|
35 |
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
|
|
36 |
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
|
|
37 |
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
|
|
38 |
OF THIS SOFTWARE.
|
|
39 |
---------------------------------------------------------------------
|
|
40 |
|
|
41 |
|
|
42 |
Limitations/restrictions of the current release:
|
|
43 |
|
|
44 |
- No support of namespaces
|
|
45 |
- Only first text node is validated/processed as Element content
|
|
46 |
- No validation of predefined types decimal, float, double, date/time types, DURATION, anyURI, base64Binary
|
|
47 |
- Only partial validation for language, QName, DTD types
|
|
48 |
- No validation for facets of not validated predefined types (see above)
|
|
49 |
- Derivation of complex types from simple types not supported
|
|
50 |
- Mixed content (child nodes and text nodes) not supported
|
|
51 |
- No check if no element content exists when xsi:nil = "true" is specified
|
|
52 |
- No support of attributes "elementFormDefault", "attributeFormDefault", "form"
|
|
53 |
- "import" element not supported
|
|
54 |
- no check if derived type and base type match
|
|
55 |
- no check of attributes "final", "finalDefault"
|
|
56 |
- "redefine" element not supported
|
|
57 |
- no support of substitution groups
|
|
58 |
- no support of abstract elements and types
|
|
59 |
- uniqueness of identity constraints (unique/key/keyref) is only checked on string base
|
|
60 |
(in case of element content only the first text node is evaluated)
|
|
61 |
- "processContents" attribute not supported
|
|
62 |
|
|
63 |
Note: This constraint list may not be complete!!
|
|
64 |
|
|
65 |
|
|
66 |
---------------------------------------------------------------------
|
|
67 |
|
|
68 |
Contents
|
|
69 |
========
|
|
70 |
|
|
71 |
readme.txt
|
|
72 |
__init__.py
|
|
73 |
pyxsval.py
|
|
74 |
xsvalSchema.py
|
|
75 |
xsvalBase.py
|
|
76 |
xsvalSimpleTypes.py
|
|
77 |
xsvalErrorHandler.py
|
|
78 |
xmlifbase.py
|
|
79 |
minidomif.py
|
|
80 |
elemtreeif.py
|
|
81 |
xsStructs.xsd
|
|
82 |
datatypes.xsd
|
|
83 |
datatypes2.xsd
|
|
84 |
|
|
85 |
---------------------------------------------------------------------
|
|
86 |
|
|
87 |
HISTORY:
|
|
88 |
=======
|
|
89 |
|
|
90 |
Changes to Release 0.2
|
|
91 |
======================
|
|
92 |
|
|
93 |
- API re-structured
|
|
94 |
- XML text processing added
|
|
95 |
- several bugs fixed
|
|
96 |
- internal re-structuring
|
|
97 |
|
|
98 |
|
|
99 |
Changes to Release 0.1
|
|
100 |
======================
|
|
101 |
|
|
102 |
- Error/warning outputs contain now also filename and linenumber
|
|
103 |
- Basic URI support for include directive added
|
|
104 |
- XML interface classes completely re-designed
|
|
105 |
- several bugs fixed
|
|
106 |
|
|
107 |
|