commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Praher <>
Subject [patch] SAXBeanWriter
Date Wed, 12 Feb 2003 15:48:25 GMT
hi all,

I am using SAXBeanWriter in a Cocoon Environment.
for this I had to patch the SAXBeanWriter to do the following:


startElement( "", qname, qname , atts ) instead of
startElement( "", "", qname, atts ) 

-> the same for endElement

this behaviour is the "default", looked in examples and books for sax
nodes that have no namespace.
plus the SAXTransformer used in cocoon doesn't accept the original style
(simple didn't display it )


optionalized the calls to startDocument( ) endDocument( ), which are
called in start(), end( ).

add a constructor element, the default behaviour is backward

reason: frequently, in generators, you don't have control over the whole
document ( this violates xml ioc ;-) )

attached you find a patch against CVS 1.6 version.


-- Jakob

View raw message