I wrote a generator which catch the SAXException and a SAX transfomer
If i send a not well formed document from the SAX Transformer, the Generator catch it.
<map:match pattern="setmodule"> <map:generate type="Stream4DGenerator"> <map:parameter name="form-name" value="moduleXml" /> </map:generate> <map:transform type="template2"/> --> SAX Transformer <map:transform type="record"> --> DOM Transformer <map:parameter name="docname" value="{session-attr:CONSIGNATION_MODULE_ID}" /> </map:transform> <map:serialize type="xml" />
BUT if the I remove the transformer "record", the document is displayed in the browser.
Is it a random situation ?
Thanks
Lionel CRINE Ingénieur Systèmes documentaires Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]