You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org> on 2008/01/23 22:35:34 UTC

[jira] Resolved: (TRINIDAD-919) maven-jdev-plugin does not evaluate tag correctly for taglib (.tld) files

     [ https://issues.apache.org/jira/browse/TRINIDAD-919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved TRINIDAD-919.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.7-plugins

> maven-jdev-plugin does not evaluate <!DOCTYPE> tag correctly for taglib (.tld) files
> ------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-919
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-919
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>            Reporter: Gary Kind
>             Fix For: 1.2.7-plugins
>
>         Attachments: maven-jdev-plugin-1.2.6.1.patch
>
>
> Some .tld files contain a <!DOCTYPE....> tag for taglibs at the top of the file.  The com.sun.org.apache.xerces parser attempts to connect to the systemid in the DOCTYPE tag, which is:
> <!DOCTYPE taglib
>   PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
>   "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
> The connection attempt fails and thus the NoRouteToHostException.
> After a lot of searching on the Web, I found a valid workaround for this problem.  It appears that a lot of people are using this same workaround because they too are getting exceptions caused by the parser not being able to connect to the URL of the DOCTYPE tag.  And yes I have called factory.setValidating(false).  That prevents validation, but it does not prevent the parser from trying to connect.   There does not seem to be any other way around this problem AND it works great.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.