malformed html prevents display of CMSIS DSP examples

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

malformed html prevents display of CMSIS DSP examples

420 Views
lpcware
NXP Employee
NXP Employee
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)
0 Kudos
Reply
3 Replies

405 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by twest820 on Thu Jun 28 13:27:50 MST 2012
Just as a follow up for folks who might be checking this thread: this issue is not fixed in LPCXpresso 4.2.3 and the bug link from atomicdog will give you "Error - Inacessible Page" unless you're signed in to LPCware.  Not sure how this issue is being tracked as I'm not finding it searching LPCware's bug tracker (though I presume Code Red monitors that bug DB).
0 Kudos
Reply

405 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue May 22 03:45:59 MST 2012
The CMSIS documentation provided in the LPCXpresso help system is taken straight from the files in the ARM CMSIS release.  Thus there must be something slightly strange with this particular part of the docs that is upsetting the parser used by the help system. We'll look into this for fixing in a future release.

In the meantime, you can simply download the CMSIS DSPLIB C examples as part of ARM's formal CMSIS release.

Regards,
CodeRedSupport.
0 Kudos
Reply

405 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by atomicdog on Mon May 21 18:11:45 MST 2012
There is a bug tracker here.
0 Kudos
Reply