Package org.exolab.castor.xml.dtd


package org.exolab.castor.xml.dtd

The XML DTD Object Model

Version:
$Revision: 6213 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
Author:
Alexander Totok
This package is an implementation of the XML DTD specification.

The XML DTD object model does not implement:

  • Conditional Sections:
    <![ INCLUDE [ ... ]]>
    <![ IGNORE  [ ... ]]> 
  • Processing Instructions, like:
    <?xml version="1.0" encoding="UTF-16"?> 

The XML DTD object model is fully compliant with the current XML specification, unless otherwise is stated.

This package also contains the class Converter, which provides static top-level methods to parse and convert XML DTD documents to corresponding XML Schema documents. It also contains a simple command line interface to read an XML DTD file and create a corresponding XML Schema file.

  • Class
    Description
    Implementation of DTD Attribute declaration specification.
    Implementation of DTD Content Particle specification, used to define the content of an element.
    Class containing methods to parse and convert XML DTD documents to corresponding XML Schema documents.
    Implementation of DTD document specification.
    This exception is thrown in the following cases: if a DTD document does not comply with DTD syntax and the parser is unable to parse the document; if a DTD document, though syntactically is well formed, but semantically is not correct, for example if an attribute is defined for an undefined element.
    Implementation of DTD Element declaration specification.
    Implementation of DTD General Entity declaration specification.
    Implementation of DTD Notation declaration specification.