cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Dzmura <...@digital-mission.com>
Subject identifying line and column of a parsing error ??
Date Thu, 06 Jul 2000 23:14:20 GMT
Howdy, folks...

I have some fairly complex HTML documents I have tidied up and emitted as .xml documents for
use in a
Cocoon environment.  xerces reports errors when parsing some of these (xml'ized) documents.
A typical example is below.  These docs are complex enough (50-100k of markup) that it would
be very beneficial to know where Xerces is running into a problem.

Earlier versions of Cocoon used to report a line number and character position when reporting
errors
in parsed files.  Is there a way to turn that feature on again??

Thanks,
Mark Dzmura


Cocoon 1.7.4

                                                 Error found handling the request.

            org.xml.sax.SAXParseException: The element type "font" must be terminated by the
matching end-tag "".
                    at org.apache.cocoon.parser.AbstractParser.fatalError(AbstractParser.java,
Compiled Code)
                    at org.apache.xerces.framework.XMLParser.reportError(XMLParser.java, Compiled
Code)
                    at org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocumentScanner.java,
Compiled Code)
                    at org.apache.xerces.framework.XMLDocumentScanner.abortMarkup(XMLDocumentScanner.java,
Compiled
Code)
                    at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java,
Compiled Code)
                    at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java,
Compiled
Code)
                    at org.apache.xerces.framework.XMLParser.parse(XMLParser.java, Compiled
Code)
                    at org.apache.cocoon.parser.XercesParser.parse(XercesParser.java, Compiled
Code)
                    at org.apache.cocoon.parser.AbstractParser.parse(AbstractParser.java,
Compiled Code)
                    at org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.java,
Compiled
Code)
                    at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code)
                    at org.apache.cocoon.Cocoon.service(Cocoon.java, Compiled Code)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
                    at org.apache.jserv.JServConnection.processRequest(JServConnection.java,
Compiled Code)
                    at org.apache.jserv.JServConnection.run(JServConnection.java, Compiled
Code)
                    at java.lang.Thread.run(Thread.java, Compiled Code)f





--
)))) This email routed via a wireless gateway!! ((((



Mime
View raw message