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 2010/01/08 13:50:54 UTC

[jira] Created: (TRINIDAD-1681) Generated Facelets taglib.xml files contain the OLD DTD

Generated Facelets taglib.xml files contain the OLD DTD
-------------------------------------------------------

                 Key: TRINIDAD-1681
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1681
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 2.0.0-plugins
            Reporter: Matthias Weßendorf
            Assignee: Matthias Weßendorf


The currently generated artifacts use the old DTD:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE facelet-taglib
  PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
<facelet-taglib xmlns="http://java.sun.com/JSF/Facelet">



However, as of JSF 2.0 it has to be:

<facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
              version="2.0">

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


[jira] Updated: (TRINIDAD-1681) Generated Facelets taglib.xml files contain the OLD DTD

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated TRINIDAD-1681:
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.1-plugins
         Assignee: Matthias Weßendorf
           Status: Resolved  (was: Patch Available)

Applied the patch; I also changed the -base file, for the merge info

> Generated Facelets taglib.xml files contain the OLD DTD
> -------------------------------------------------------
>
>                 Key: TRINIDAD-1681
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1681
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0-plugins
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>             Fix For: 2.0.1-plugins
>
>         Attachments: declaration.diff
>
>
> The currently generated artifacts use the old DTD:
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE facelet-taglib
>   PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
> <facelet-taglib xmlns="http://java.sun.com/JSF/Facelet">
> However, as of JSF 2.0 it has to be:
> <facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
>               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>               xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
>               version="2.0">

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


[jira] Commented: (TRINIDAD-1681) Generated Facelets taglib.xml files contain the OLD DTD

Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832679#action_12832679 ] 

Max Starets commented on TRINIDAD-1681:
---------------------------------------

See the provided patch. Note that the tr-base.taglib.xml will need to be modified to have the correct namespace/XSD declaration as well. These two changes have to be made at the same time, otherwise the merge of the statically defined tags with the ones generated by the plugin will fail.

> Generated Facelets taglib.xml files contain the OLD DTD
> -------------------------------------------------------
>
>                 Key: TRINIDAD-1681
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1681
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0-plugins
>            Reporter: Matthias Weßendorf
>         Attachments: declaration.diff
>
>
> The currently generated artifacts use the old DTD:
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE facelet-taglib
>   PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
> <facelet-taglib xmlns="http://java.sun.com/JSF/Facelet">
> However, as of JSF 2.0 it has to be:
> <facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
>               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>               xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
>               version="2.0">

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


[jira] Updated: (TRINIDAD-1681) Generated Facelets taglib.xml files contain the OLD DTD

Posted by "Max Starets (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Max Starets updated TRINIDAD-1681:
----------------------------------

    Status: Patch Available  (was: Open)

> Generated Facelets taglib.xml files contain the OLD DTD
> -------------------------------------------------------
>
>                 Key: TRINIDAD-1681
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1681
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0-plugins
>            Reporter: Matthias Weßendorf
>         Attachments: declaration.diff
>
>
> The currently generated artifacts use the old DTD:
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE facelet-taglib
>   PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN" "http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
> <facelet-taglib xmlns="http://java.sun.com/JSF/Facelet">
> However, as of JSF 2.0 it has to be:
> <facelet-taglib xmlns="http://java.sun.com/xml/ns/javaee"
>               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>               xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facelettaglibrary_2_0.xsd"
>               version="2.0">

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