Class JstlCoreTLV

  • Direct Known Subclasses:
    JstlELCoreTLV

    public class JstlCoreTLV
    extends JstlBaseTLV

    A SAX-based TagLibraryValidator for the core JSTL tag library. Currently implements the following checks:

    • Expression syntax validation.
    • Choose / when / otherwise constraints
    • Tag bodies that must either be empty or non-empty given particular attributes. (E.g., cannot have a body when 'value' is specified; it *must* have a body otherwise.) For these purposes, "having a body" refers to non-whitespace content inside the tag.
    • Other minor constraints.