On Jan 20, 2008 1:30 PM, simon <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I wanted to fix a few problems with the generated h.tld file in core12.
>
> I read through the code and saw that an "h-base.tld" file could be used
> to insert arbitrary content at the start of the generated file. However
> when I set this up, it appears that there are a number of bugs in the
> plugin:
>
> (1) any comments in the h-base.tld file are stripped out

yes.

>
> (2) any <![CDATA< tags in the tags that are *generated* by the plugin
> get removed and their content then escaped, eg the UIColumn stuff which
> in the build project looks like
>   <description><![CDATA[
>     <p>Creates a UIComponent that represents...</p>
> becomes
>   <tag>
>     <description>&lt;p&gt;
>           Creates a UIComponent that represents...
>
> Is is really a bug, or am I not using this correctly?
>
> What I want to achieve is:
> (1) a standard ASF copyright/license stuff at the top of the file.

(in trinidad) we have that for the source, but not (yet) for the generated bit.
was never really an issue during incubation;
but I am fine with agreeing on fixing that (somewhen)

> (2) a <description> tag for the taglib
>
> I also would like to have the name "myfaces-html.tld" rather than
> "h.tld" but that is probably a different problem; it looks like the
> plugin just does not support that at the moment.

hrm, dunno offhead, but I can check that during the week
-M

>
> The code in question is:
>   GenerateJspTaglibsMojo._generateTagLibraryDescriptors
>
> Regards,
>
> Simon
>
>



-- 
Matthias Wessendorf

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Reply via email to