commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Praher <>
Subject [BETWIXT][patch] SAXBeanWriter
Date Thu, 13 Feb 2003 19:34:17 GMT
** this is just a resend, since I got no response, perhaps adding 
the project in the subject will help .. **

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