[jdom-commits] CVS update: jdom/src/java/org/jdom/adapters

jhunter at cvs.jdom.org jhunter at cvs.jdom.org
Tue Mar 6 22:50:43 PST 2001

Date:	Wednesday March 7, 2001 @ 6:50
Author:	jhunter

Update of /home/cvspublic/jdom/src/java/org/jdom/adapters
In directory www.nmemonix.com:/tmp/cvs-serv2744/adapters

Modified Files:
	AbstractDOMAdapter.java DOMAdapter.java 
Log Message:
Added support for the DOM DocumentType object when constructing documents
using DOMOutputter.  Specifically:

Added a new DOMAdapter.createDocument(DocType dt) method.  This creates a
DOM document with the given DocType.

Implemented the method in AbstractDOMAdapter.

Changed DOMOutputter to call the new method for documents that have a 
DOCTYPE declaration.  It works for namespaces now too.

While I was at it, fixed a bug where Attr output(Attribute) wasn't using 

It's odd the DOCTYPE doesn't appear to get recorded at all when using 
Xerces 1.2, but it works fine for Xerces 1.3 and the Crimson bundled 
with JAXP 1.1.  Xerces 1.2 bug?


File: AbstractDOMAdapter.java	Status: Up-to-date

   Working revision:	1.5	Wed Mar  7 06:50:42 2001
   Repository revision:	1.5	/home/cvspublic/jdom/src/java/org/jdom/adapters/AbstractDOMAdapter.java,v

   Existing Tags:
	start                    	(revision:
	jdom                     	(branch: 1.1.1)

File: DOMAdapter.java  	Status: Up-to-date

   Working revision:	1.6	Wed Mar  7 06:50:42 2001
   Repository revision:	1.6	/home/cvspublic/jdom/src/java/org/jdom/adapters/DOMAdapter.java,v

   Existing Tags:
	start                    	(revision:
	jdom                     	(branch: 1.1.1)

More information about the jdom-commits mailing list