[ 
http://jira.codehaus.org/browse/MOJO-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86394
 ] 

Andrew Thornton commented on MOJO-630:
--------------------------------------

I've found that the catalog parameter doesn't really work for the transform
goal of the Maven XML Plugin. Basically, whenever you pass a StreamSource
into the Transformer, the Transformer will then create a parser to parse that
source. That parser, won't have the Resolver set on it and thus if there's a
DTD on the source, that DTD won't be resolved with reference to the catalog.

The end result of this is that the catalog ends up being completely ignored
for transformations!!

> Transform documents do not have their entities resolved with respect to the 
> Catalog
> -----------------------------------------------------------------------------------
>
>                 Key: MOJO-630
>                 URL: http://jira.codehaus.org/browse/MOJO-630
>             Project: Mojo
>          Issue Type: Bug
>          Components: xml
>            Reporter: Andrew Thornton
>            Priority: Critical
>
> The catalog parameter is being ignored for xml:transform as transform 
> documents  that have a dtd declaration do not have their DTD resolved with 
> respect to the provided catalog. This occurs for both input documents and 
> documents referenced inside the xslt using the XPath function document()  and 
> the xslt functions <xsl:import> <xsl:include>.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to