You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2007/03/15 02:19:09 UTC

[jira] Created: (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

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


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


[jira] Assigned: (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

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship reassigned TAPESTRY-1353:
----------------------------------------------

    Assignee: Howard M. Lewis Ship

> 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
>         Assigned To: 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


[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

Posted by "Daniel Gredler (JIRA)" <de...@tapestry.apache.org>.
     [ 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


[jira] Closed: (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

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-1353.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 5.0.4

Great patch!  I guess we'll add further DTDs & etc. as needed.

> 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
>         Assigned To: Howard M. Lewis Ship
>             Fix For: 5.0.4
>
>         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