You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Daniel Gredler (JIRA)" <de...@tapestry.apache.org> on 2007/03/15 04:57:10 UTC

[jira] Updated: (TAPESTRY-1353) 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

     [ 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org