lpcware

malformed html prevents display of CMSIS DSP examples

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by twest820 on Mon May 21 13:09:04 MST 2012
[FONT=Arial][SIZE=2]Looking into onboarding to LPC and not spotting a bug submission point.  Appears this bug's been around a while and is somewhat pervasive so it seemed worth mentioning.[/SIZE][/FONT]

[FONT=Arial][SIZE=2][B]repro[/B]: Start LPCXpresso and go to Help -> Help Topics -> Code Red Product Documentation -> CMSIS 2.10 -> CMSIS DSP Software Library -> Examples.  Click on any of the links to .c files.[/SIZE][/FONT]
[FONT=Arial][SIZE=2][B]expected result[/B]: .c code is displayed[/SIZE][/FONT]
[FONT=Arial][SIZE=2][B]actual result[/B]: page render fails with the error below[/SIZE][/FONT]
[FONT=Arial][SIZE=2][B]workaround[/B]: download the CMSIS spec and extract the code manually[/SIZE][/FONT]
[FONT=Arial][SIZE=2][B]affects[/B]: all CMSIS 2.1, 2.0, and 1.3 DSP examples shipped with LPCExpresso 4.2.2 and 4.1.5 look to be affected, though I haven't checked all drops of all examples[/SIZE][/FONT]

An error occured while processing the requested document:
org.xml.sax.SAXParseException: The element type "body" must be terminated by the matching end-tag "</body>".
    at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
    at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    at org.eclipse.help.internal.dynamic.DocumentReader.read(DocumentReader.java:56)
    at org.eclipse.help.internal.dynamic.XMLProcessor.process(XMLProcessor.java:49)
    at org.eclipse.help.internal.xhtml.DynamicXHTMLProcessor.process(DynamicXHTMLProcessor.java:66)
    at org.eclipse.help.internal.webapp.servlet.DynamicXHTMLFilter$1.close(DynamicXHTMLFilter.java:81)
    at org.eclipse.help.internal.webapp.servlet.PluginsRootResolvingStream.close(PluginsRootResolvingStream.java:220)
    at java.io.FilterOutputStream.close(Unknown Source)
    at org.eclipse.help.internal.webapp.servlet.FilterHTMLHeadOutputStream.close(FilterHTMLHeadOutputStream.java:159)
    at org.eclipse.help.internal.webapp.servlet.EclipseConnector.transfer(EclipseConnector.java:191)
    at org.eclipse.help.internal.webapp.servlet.ContentServlet.doGet(ContentServlet.java:45)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
    at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
    at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:318)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:924)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

Outcomes