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
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 Summary Class Description Attribute Implementation of DTD Attribute declaration specification.ContentParticle Implementation of DTD Content Particle specification, used to define the content of an element.Converter Class containing methods to parse and convert XML DTD documents to corresponding XML Schema documents.DTDdocument Implementation of DTD document specification.Element Implementation of DTD Element declaration specification.GeneralEntity Implementation of DTD General Entity declaration specification.Notation Implementation of DTD Notation declaration specification. -
Exception Summary Exception Description DTDException 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.