[jdom-commits] CVS update: jdom/src/java/org/jdom/output
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/output
In directory www.nmemonix.com:/tmp/cvs-serv2744/output
Modified Files:
DOMOutputter.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
JAXP.
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?
-jh-
===================================================================
File: DOMOutputter.java Status: Up-to-date
Working revision: 1.19 Wed Mar 7 06:50:43 2001
Repository revision: 1.19 /home/cvspublic/jdom/src/java/org/jdom/output/DOMOutputter.java,v
Existing Tags:
start (revision: 1.1.1.1)
jdom (branch: 1.1.1)
More information about the jdom-commits
mailing list