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

bmclaugh at cvs.jdom.org bmclaugh at cvs.jdom.org
Fri Nov 30 06:44:49 PST 2001

Date:	Friday November 30, 2001 @ 14:44
Author:	bmclaugh

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

Modified Files:
Log Message:
More changes from Laurent Bihac. This batch supports attribute typing, and 
  his message on the changes is included here:

Attached is an implementation to support attribute types in JDOM.
It has been validated against both Xalan and Saxon to check that they both now 
recognized the ID type attributes when SAX events are fired through the 
It includes handling of all known idiosyncrasies of Crimson 1.1.x, Xerces 
1.4.x and Xerces 2.0.0-betaX regarding this aspect (see comments in code).

Attribute types are modeled as integer values in Attribute. SAXHandler and 
SAXOutputter include methods to convert from/to SAX type strings. I added 2 
methods to JDOMFactory to support the new Attribute constructors that take an 
attribute type as argument.
As I don't know DOM, I haven't done any work in this direction!

Finally, something which has nothing to do with the above, I added support for 
SAX Locator in SAXHandler with get/setDocumentLocator methods, 
getDocumentLocator aims at allowing the JDOMFactories impl to get access to 
parse location information. It is up to the application responsibility to pass 
a reference to SAXHandler to their factory.

File: no file SAXOutputter.java		Status: Needs Checkout

   Working revision:	1.15	Fri Nov 30 14:44:48 2001
   Repository revision:	1.15	/home/cvspublic/jdom/src/java/org/jdom/output/SAXOutputter.java,v

   Existing Tags:
	jdom_1_0_b7              	(revision: 1.11)
	jdom_1_0_b6              	(revision: 1.4)
	start                    	(revision:
	jdom                     	(branch: 1.1.1)

More information about the jdom-commits mailing list