Another question in jdiscuss.com. I think the answer should be one : B. The correct answers on the website are B and D. I don't think D is right, since you can also implement SimpleTag or IteratorTag. Can someone confirm my thought?
Consider the following description of a tag in a TLD:
<tag> <name>SmilyTag</name> <tag-class>com.enthuware.ctags.SmilyTag</tag-class> <description> Replaces emoticons such as , , and with images. </description> <body-content>tagdependent</body-content> <attribute> <name>name</name> <required>false</required> <rtexprvalue>true</rtexprvalue> </attribute> </tag>
Which of the following statements regarding the above tag are correct?
Select 2 correct options.
A. It is an empty tag.
B. It may be used as an empty tag.
C. It must have a body.
D. It must implement BodyTag interface.
E. It may take an attribute named 'name'. But if present, its value must be dynamic.