Oracle XML Class Generator for Java

Release Notes for Version 9.2.0.6.0 (Production)


Contents

Release 9.2.0.6.0 (Prod)

Overview
Features
Bugs Fixed
Demos
API Documentation

Previous Releases

Release 9.2.0.4.0
Release 9.2.0.3.0
Release 9.2.0.2.0
Release 9.0.2.0.0D
Release 9.0.2.0.0C
Release 9.0.2.0.0B
Release 9.0.2.0.0A
Release 9.0.0.0.0
Release 2.0.0.0.0
Release 1.0.1.0.0
Release 1.0.0.1.0
Release 1.0.0.0.0




Overview

Oracle XML Class Generator for Java creates java class source
files from an XML DTD or Schema. The generated classes can be used
programmatically to construct XML documents.

The Oracle XML Class Generator requires Oracle XML Parser and Oracle Schema
Parser.

The Class Generator consists of DTD Class Generator and the Schema Class
Generator which could be invoked from a command line utility called
oracg. Depending on the input argument, the oracg utility generates the
java classes using the DTD Class Generator or Schema Class Generator

The various input arguments supported are:
-help Prints the help message text
-version Prints the release version
-dtd [-root <rootName>] <DTD File> The input file is a DTD file or DTD based XML file
-schema <Schema File> The input file is a schema file or schema based XML file
-outputDir <Output Dir> The directory name where the java source is generated
-package <Package Name> The package name(s) of the generated java classes
-comment Generate comments for the generated java source

Please post any questions, comments, or bug reports to the XML Forum on the Oracle Technology Network at http://technet.oracle.com.




Features

Features of DTD Class Generator
 

The DTD Class Generator supports the following features:


Features of Schema Class Generator

The Schema Class Generator generates a java class corresponding to each top
level element (global element), top level simpleType element and
complexType element and top level attributes. All the generated classes
extends the base class CGXSDElement which actually stores information about
the child elements and attributes pertaining to the java object
corresponing to the element.

The type hierarchy among the elments and simpleType/complexType elements
is maintained in the generated class. If the top level complexType/simpleType
element extends another complexType/simpleType element, then the class
corresponding to them will extend the class correspondig to the base type
simpleType or complexType element. Otherwise, they extend CGXSDElement class.
 

Namespace issue
 

Details about classes generated for top level element
  ComplexType Element


Details about classes generated for top level SimpleType Element
 


Bugs Fixed


Release 9.2.0.4.0
Bugs Fixed


Release 9.2.0.3.0

July 23, 2002

Bugs Fixed





Release 9.2.0.2.0

February 1, 2002

Bugs Fixed





Release 9.0.2.0.0D

Dec 1, 2001

Bugs Fixed





Release 9.0.2.0.0C

Oct 1, 2001

New Features

Bugs Fixed


Release 9.0.2.0.0B

Aug 1, 2001

Bugs Fixed




Release 9.0.2.0.0A

June 15, 2001

Bugs Fixed




Release 9.0.0.0.0

Jan 25, 2001
 




Release 2.0.0.0.0

October 12, 2000

New features

Bugs fixed


Release 1.0.2.0.0

May 18, 2000

Bugs fixed




Release 1.0.1.0.0

September 30, 1999

This release of XML Class Generator requires XML Parser Version 2.

NOTE: See v2changes.txt and the .diff difference files in the sample directory for changes required to use XML Parser Version 2

Bugs Fixed


This is the first production release.




Release 1.0.0.1.0

April 9, 1999

Bugs Fixed





Release 1.0.0.0.0

January 15, 1999

The Oracle XML Class Generator, written in Java, will generate a set of Java source files based on an input DTD. The generated Java source files can then be used to construct, optionally validate, and print a XML document that is compliant to the DTD specified. This is an early beta release.

The licensing agreement is found in LICENSE.  The XML Class Generator is currently available only for testing purposes.  We expect to make it available for commercial use in the future.

Please post any questions, comments, or bug reports to the XML Forum on the Oracle Technology Network at http://technet.oracle.com

The Oracle XML Class Generator requires Oracle XML Parser. The XML Document, printed by the generated classes, confirms to the W3C recommendation for Extensible Markup Language (XML) 1.0.

The Oracle XML Class Generator can optionally generate validating Java source files. It also optionally generates Javadoc comments in the source files.

The Oracle XML Class Generator supports the following encodings for printing the XMLDocument:  UTF-8, UTF-16, ISO-10646-UCS-2, ISO-10646-UCS-4, US-ASCII, EBCDIC-CP-US, ISO-8859-1, andShift_SJIS.   ASCII is the default encoding if none is specified.  Any other ASCII or EBCDIC based encodings that are supported by the JDK may be used.