Debian Codegraph @

trexconverter/doc/README.txt

raw
1 ======================================================================
2 README FILE FOR THE SUN TREX CONVERTER
3 Preview Version. June, 2001
4 Copyright (c) Sun Microsystems, 2001
5 Document written by Kohsuke Kawaguchi ([email protected])
6 ======================================================================
7
8 Sun TREX Converter is a tool to convert schemas written in various
9 schema languages to their equivalent in TREX.
10
11 It supports schemas written in XML DTD, RELAX Core, RELAX namespace,
12 RELAX NG, W3C XML Schema, and TREX itself.
13
14 This release includes software developed by the Apache Software
15 Foundation (http://www.apache.org/).
16
17 ----------------------------------------------------------------------
18 USAGE
19 ----------------------------------------------------------------------
20
21 To convert a schema written in either RELAX Core, RELAX namespace,
22 RELAX NG, or W3C XML Schema, enter the following:
23
24 $ java -jar rngconv.jar myschema.xsd > result.trex
25
26 The converter detects the schema language automatically (except for XML
27 DTDs) and writes the result to "result.trex".
28
29 To convert an XML DTD, enter the following:
30
31 java -jar rngconv.jar -dtd myschema.dtd > result.trex
32
33 Note that you need the -dtd option.
34
35
36 ----------------------------------------------------------------------
37 KNOWN LIMITATIONS
38 ----------------------------------------------------------------------
39
40 * This software relies on Sun Multi-Schema Validator(MSV). Therefore
41 any limitations of MSV apply also to this converter. See [1] for
42 more information.
43
44 * RELAX Core permits undeclared attributes to appear in instance
45 documents. This semantics is not converted. Therefore, any undeclared
46 attributes are considered invalid after the conversion.
47
48 * Identity constraints of W3C XML Schema and RELAX NG are not converted.
49 So if the source schema uses <xsd:key>,<xsd:keyref>, or <xsd:unique>,
50 this converter ignores those declarations.
51
52 * It may fail to convert some datatype definitions, especially those that
53 are derived in a very complex way with lots of facets.
54
55 * Schemas that consist of multiple files are converted into one big
56 TREX pattern. This limitation can be used to parse modularized
57 TREX pattern and create a single monolithic pattern.
58
59
60 [1] Sun Multi-Schema Validator
61 http://www.sun.com/xml/@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
62
63 ======================================================================
64 END OF README