tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Gredler (JIRA)" <...@tapestry.apache.org>
Subject [jira] Commented: (TAPESTRY-1498) nbsp in template causes exception in SAX Parser.
Date Fri, 22 Jun 2007 21:54:26 GMT

    [ https://issues.apache.org/jira/browse/TAPESTRY-1498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507525
] 

Daniel Gredler commented on TAPESTRY-1498:
------------------------------------------

I've added a section on doctypes to the template documentation.

> nbsp in template causes exception in SAX Parser.
> ------------------------------------------------
>
>                 Key: TAPESTRY-1498
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1498
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.5
>         Environment: Tap 5 SNAPSHOTS, Eclipse WTP, Tomcat
>            Reporter: Daniel Jue
>            Assignee: Daniel Gredler
>            Priority: Minor
>             Fix For: 5.0.5
>
>
> Having  
> &nbsp;
> in your template causes this exception:
> The entity
> "nbsp" was referenced, but not declared.
> Stack trace
>         * com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
>         * org.apache.tapestry.internal.services.TemplateParserImpl.parseTemplate(TemplateParserImpl.java:173)
>         * org.apache.tapestry.internal.services.ComponentTemplateSourceImpl.parseTemplate(ComponentTemplateSourceImpl.java:145)
>         * org.apache.tapestry.internal.services.ComponentTemplateSourceImpl.getTemplate(ComponentTemplateSourceImpl.java:126)
>         * org.apache.tapestry.internal.services.PageLoaderProcessor.loadTemplateForComponent(PageLoaderProcessor.java:427)
>         * org.apache.tapestry.internal.services.PageLoaderProcessor.workComponentQueue(PageLoaderProcessor.java:720)
>         * org.apache.tapestry.internal.services.PageLoaderProcessor.loadPage(PageLoaderProcessor.java:393)
>         * org.apache.tapestry.internal.services.PageLoaderImpl.loadPage(PageLoaderImpl.java:59)
>         * org.apache.tapestry.internal.services.PagePoolImpl.checkout(PagePoolImpl.java:63)
>         * org.apache.tapestry.internal.services.RequestPageCacheImpl.getByClassName(RequestPageCacheImpl.java:58)
>         * org.apache.tapestry.internal.services.RequestPageCacheImpl.get(RequestPageCacheImpl.java:49)
>         * org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(PageLinkHandlerImpl.java:57)
>         * org.apache.tapestry.internal.services.PageLinkHandlerImpl.handle(PageLinkHandlerImpl.java:49)
>         * org.apache.tapestry.internal.services.PageRenderDispatcher.dispatch(PageRenderDispatcher.java:91)
>         * org.apache.tapestry.services.TapestryModule$12.service(TapestryModule.java:1027)
>         * mil.army.oacsim.IEIS2.services.AppModule$1.service(AppModule.java:55)
>         * org.apache.tapestry.internal.services.LocalizationFilter.service(LocalizationFilter.java:43)
>         * org.apache.tapestry.services.TapestryModule$3.service(TapestryModule.java:627)
>         * org.apache.tapestry.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:63)
>         * org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:91)
>         * org.apache.tapestry.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:82)
>         * org.apache.tapestry.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:77)
>         * org.apache.tapestry.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:104)
>         * org.apache.tapestry.services.TapestryModule$11.service(TapestryModule.java:1005)
>         * org.apache.tapestry.TapestryFilter.doFilter(TapestryFilter.java:134)
>         * org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>         * org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>         * org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>         * org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>         * org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>         * org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>         * org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>         * org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>         * org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>         * org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>         * org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>         * org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>         * org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>         * java.lang.Thread.run(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message