[ 
https://issues.apache.org/jira/browse/XALANJ-2544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118671#comment-13118671
 ] 

Sergey Ushakov commented on XALANJ-2544:
----------------------------------------

A patched binary build is available form my blog page "XSLT, entities, Java, 
Xalan..." at 
http://s-n-ushakov.blogspot.com/2011/09/xslt-entities-java-xalan.html .
                
> Entities resolving with resolver is not available for XSLT file
> ---------------------------------------------------------------
>
>                 Key: XALANJ-2544
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2544
>             Project: XalanJ2
>          Issue Type: Bug
>      Security Level: No security risk; visible to anyone(Ordinary problems in 
> Xalan projects.  Anybody can view the issue.) 
>          Components: Xalan
>    Affects Versions: 2.0.x
>            Reporter: Sergey Ushakov
>         Attachments: org.apache.xalan.processor.TransformerFactoryImpl.diff, 
> org.apache.xalan.transformer.XalanProperties.diff, 
> org.apache.xalan.xslt.Process.diff
>
>
> In case an XSLT file contains reference to any entities, and an entity 
> resolver is used, the resolver is given a chance to look up in the catalog 
> only _after_ the original reference in the internet is consulted and fetched. 
> A case may look like this:
> <?xml version="1.0" standalone="yes" ?>
> <!DOCTYPE transform [
>     <!ENTITY % w3centities-f PUBLIC "-//W3C//ENTITIES Combined Set//EN//XML"
>         "http://www.w3.org/2003/entities/2007/w3centities-f.ent";>
>     %w3centities-f;
> ]>
> <xsl:transform version="1.0"
> ...
> For that case if no internet connection is available, a 
> java.net.UnknownHostException is thrown by Xalan-J command line utility 
> referencing "www.w3.org".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to