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

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

The code in question is:
  GenerateJspTaglibsMojo._generateTagLibraryDescriptors

Regards,

Simon

Reply via email to