<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib
        PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
        "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_2.dtd">

<taglib>

  <tlib-version>1.0</tlib-version>
  <jsp-version>1.2</jsp-version>
  <short-name>basic</short-name>
  <uri>http://xmlns.oracle.com/j2ee/jsp/tld/demos/basic.tld</uri>
  <description>
        A basic tag which demonstrates a taglibrary validator
        which insures that
          - the child tag is nested in the parent tag
          - the parent tag's attribute directory or file is supplied, not both
          - the child tag's limit is in range
                
  </description>
  <validator>
    <validator-class>
        examples.BasicTagTLV
    </validator-class>
  </validator>
  <tag>
    <name>parent</name>
    <tag-class>examples.BasicTagParent</tag-class>
    <body-content>JSP</body-content>
    <attribute>
        <name>id</name>
        <required>required</required>
        <rtexprvalue>false</rtexprvalue>
    </attribute>
    <attribute>
        <name>directory</name>
        <required>false</required>
        <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
        <name>file</name>
        <required>false</required>
        <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>
  <tag>
    <name>child</name>
    <tag-class>examples.BasicTagChild</tag-class>
    <body-content>JSP</body-content>
    <attribute>
        <name>pattern</name>
        <required>true</required>
        <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
        <name>limit</name>
        <required>false</required>
        <rtexprvalue>true</rtexprvalue>
    </attribute>
  </tag>
</taglib>