Features
General
- Conversion works in both directions from XML to TXT and from TXT
to XML.
- During conversion from XML to TXT, TXT2XML checks that XML
numeric values are really numeric.
- The parameter PREFIX suppress constant part of an item name.
- A Java GUI front-end is available for Windows and Linux/Unix.
COBOL specific
- A report of the analysis of the COBOL copybook (level, name,
type, sign, default value, start and length) is written at the end of
the conversion.
- OCCURS clauses for group and elementary items are supported but
only for one dimension arrays.
- During XML to TXT conversion, missings XML tags are detected.
- COMP-3, COMP-4, BINARY and PACKED-DECIMAL clauses are supported.
- SIGN clauses, even for group items, are supported..
- Multi-line COBOL item declaration are supported.
- All COBOL item names are capitalized.
- COBOL levels are internally renumbered from 1 by 1 so that
indentation of XML is independent of absolute COBOL levels.
- Line numbers in columns 1-6 & 73-80 are ignored.
- Level 66, 77, 88 items are ignored.
- The conversion process stops if level is greater than 50.
- The conversion process stops if level is not numeric.
- The conversion process stops if some unsupported COBOL clauses
are found.
XML specific
- During text to XML conversion, an internal or external DTD can
be created, based on the COBOL copybook.
- XML tags are indented according to the item level.
- XML element attributes are supported.
- CDATA is supported.
- Ecaped chars like < for "<" are supported.
- Support of on more than one line.
- Element content, attributes, comments, declaration, ... can
expand on more than one line.
- XML attributes : xml:space, xml:language, ... are ignored.
To do
- Generation of XSD files based on COBOL copybooks.
- Integration of XML2COB in TXT2XML