If I edit a document with the oneform editor and insert non-validating xml I get the following Exception: An Error Occurred org.apache.cocoon.ProcessingException The element type "table" must be terminated by the matching end-tag "</table>". org.apache.cocoon.ProcessingException: Failed to execute pipeline.: null:21:14:org.xml.sax.SAXParseException: The element type "table" must be terminated by the matching end-tag "</table>". 14 21 org.xml.sax.SAXParseException: The element type "table" must be terminated by the matching end-tag "</table>". null Original Exception: org.xml.sax.SAXParseException: The element type "table" must be terminated by the matching end-tag "</table>". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318) at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:337) at org.apache.cocoon.generation.StreamGenerator.generate(StreamGenerator.java:168) at ...
Created attachment 9204 [details] stack trace pf exception
handle this error with a handle-error statement which allows you to go back.
Added an error screen and moved the one form editor to a separate pipeline so we can handle the sax parsing error separately.