You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Max Starets (JIRA)" <de...@myfaces.apache.org> on 2010/02/11 21:36:27 UTC

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

    [ 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.