[
https://issues.apache.org/jira/browse/TAPESTRY-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Gredler updated TAPESTRY-1353:
-------------------------------------
Attachment: local-entity-resolution.patch
Attaching a patch that implements this feature. Public ID -> local URL mappings
are configurable in the same way that the ResourceStreamer's content types were
made configurable. The default configuration covers all XHTML 1.0 doctypes
(strict, transitional and frameset).
Note that I had to touch TemplateParserImplTest a little more than I would have
liked to, because the parser instance needs to be retrieved as a service from
the registry now that it gets configured there, meaning that we can no longer
mock the log instance used by the parser.
> Include copies of common DTDs in the JAR such that the template parser does
> not need to access the network to parse templates with specific doctypes
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-1353
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1353
> Project: Tapestry
> Issue Type: New Feature
> Components: tapestry-core
> Affects Versions: 5.0
> Reporter: Howard M. Lewis Ship
> Attachments: local-entity-resolution.patch
>
>
> Tapestry should include copies of the most common DTDs, such as XHTML, as
> part of the JAR, and intercept external entity requests to use the local JAR
> copies.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]