Issue Details (XML | Word | Printable)

Key: MAVENTAGLIB-7
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Maria Elena Milani
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven taglib plugin

Doesn't process XML entities

Created: 18/Jan/10 13:53   Updated: 30/Jan/10 17:42
Return to search
Component/s: None
Affects Version/s: 2.3.1
Fix Version/s: ideas


 Description  « Hide

migrated from sourceforge tracker https://sourceforge.net/tracker/?func=detail&aid=1543482&group_id=93991&atid=606303

TLD's can become quite long, especially if example code
is provided. One way to manage large XML documents is
by using XML entities, but the plugin doesn't process
the entities. (This may be a Maven infrastructure issue.)

<!DOCTYPE taglib PUBLIC
"-//Sun Microsystems, Inc.//DTD JSP Tag Library
1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"
[<!ENTITY doubleselect-example SYSTEM
"examples/doubleselect.xml">]
>

...

</attribute>

&doubleselect-example;

</tag>

...

examples/doubleselect.xml
<example>
<s:doubleselect
label="doubleselect test1"
name="menu"
list="{'fruit','other'}"
doubleName="dishes"
doubleList="top == 'fruit' ? {'apple', 'orange'} : {'monkey', 'chicken'}" />
<s:doubleselect
label="doubleselect test2" name="menu"
list="#{'fruit':'Nice Fruits', 'other':'Other Dishes'}"
doubleName="dishes"
doubleList="top == 'fruit' ? {'apple', 'orange'}} : {'monkey', 'chicken'}" />
</example>

-Ted.



There are no comments yet on this issue.