You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by di...@apache.org on 2002/04/01 08:42:58 UTC

cvs commit: jakarta-commons/docs/latka xml-reference.html

dion        02/03/31 22:42:58

  Modified:    docs/latka xml-reference.html
  Log:
  Manual hack for dvsl not handing <source> inside a <p>
  
  Revision  Changes    Path
  1.12      +171 -73   jakarta-commons/docs/latka/xml-reference.html
  
  Index: xml-reference.html
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/docs/latka/xml-reference.html,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- xml-reference.html	1 Apr 2002 06:33:01 -0000	1.11
  +++ xml-reference.html	1 Apr 2002 06:42:58 -0000	1.12
  @@ -147,13 +147,20 @@
     <p>
               validates the length of an HTTP(S) response
            </p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT byteLength EMPTY&gt;
  -&lt;!ATTLIST byteLength min   CDATA "0"
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT byteLength EMPTY&gt;
  +&lt;!ATTLIST byteLength min   CDATA &quot;0&quot;
                        max   CDATA #IMPLIED
  -                     label CDATA #IMPLIED&gt;</source>
  -         </p>
  +                     label CDATA #IMPLIED&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
               <table>
  @@ -214,13 +221,20 @@
     <p>
               validates the presence of an HTTP(S) cookie in a response
            </p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT cookie EMPTY&gt;
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT cookie EMPTY&gt;
   &lt;!ATTLIST cookie name  CDATA #REQUIRED
                    value CDATA #IMPLIED
  -                 label CDATA #IMPLIED&gt;</source>
  -         </p>
  +                 label CDATA #IMPLIED&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
                  <table>
  @@ -278,12 +292,19 @@
     <p>
               username/password credentials for Basic HTTP authentication.
            </p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT credentials EMPTY&gt;
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT credentials EMPTY&gt;
   &lt;!ATTLIST credentials userName CDATA #REQUIRED
  -                      password  CDATA #REQUIRED&gt;</source>
  -         </p>
  +                      password  CDATA #REQUIRED&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
                  <table>
  @@ -319,12 +340,19 @@
   <a name="latka.ref.maxRequestTime"/>
     <h4><a name="maxRequestTime">maxRequestTime</a></h4>
     <p>validates the response time for an HTTP(S) request</p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT maxRequestTime EMPTY&gt;
  -&lt;!ATTLIST maxRequestTime millis CDATA "30000"
  -                           message  CDATA #IMPLIED&gt;</source>
  -         </p>
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT maxRequestTime EMPTY&gt;
  +&lt;!ATTLIST maxRequestTime millis CDATA &quot;30000&quot;
  +                           message  CDATA #IMPLIED&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
                  <table>
  @@ -372,10 +400,17 @@
   <a name="latka.ref.param"/>
     <h4><a name="param">param</a></h4>
     <p>indicates a request parameter as part of an HTTP(S) request to be executed</p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT request (<a href="#latka.ref.paramName">paramName</a>, <a href="#latka.ref.paramValue">paramValue</a>)&gt;</source>
  -         </p>
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT request (, )&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
               <p>
  @@ -398,10 +433,17 @@
   <a name="latka.ref.paramName"/>
     <h4><a name="paramName">paramName</a></h4>
     <p>the name part of a name/value pair parameter</p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT paramName (#PCDATA)&gt;</source>
  -         </p>
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT paramName (#PCDATA)&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
               <p>
  @@ -425,10 +467,17 @@
   <a name="latka.ref.paramValue"/>
     <h4><a name="paramValue">paramValue</a></h4>
     <p>the value part of a name/value pair parameter</p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT paramValue (#PCDATA)&gt;</source>
  -         </p>
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT paramValue (#PCDATA)&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
               <p>
  @@ -454,14 +503,21 @@
     <p>
               validates the presence or absence of a regular expression within an HTTP(S) response
            </p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT regexp EMPTY&gt;
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT regexp EMPTY&gt;
   &lt;!ATTLIST regexp pattern    CDATA          #REQUIRED
  -                 cond       (true | false) "true"
  -                 ignoreCase (true | false) "false"
  -                 label       CDATA         #IMPLIED&gt;</source>
  -         </p>
  +                 cond       (true | false) &quot;true&quot;
  +                 ignoreCase (true | false) &quot;false&quot;
  +                 label       CDATA         #IMPLIED&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
                  <table>
  @@ -540,15 +596,22 @@
   <a name="latka.ref.request"/>
     <h4><a name="request">request</a></h4>
     <p>indicates an  HTTP(S) request to be executed</p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT request (<a href="#latka.ref.credentials">credentials</a>?, <a href="#latka.ref.param">param</a>*, <a href="#latka.ref.validate">validate</a>?)&gt;
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT request (?, *, ?)&gt;
   &lt;!ATTLIST request path   CDATA        #REQUIRED
  -                     method (post | get) "get"
  +                     method (post | get) &quot;get&quot;
                        host   CDATA        #IMPLIED
                        port   CDATA        #IMPLIED
  -                     label  CDATA        #IMPLIED&gt;</source>
  -         </p>
  +                     label  CDATA        #IMPLIED&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
               <p>
  @@ -623,12 +686,19 @@
   <a name="latka.ref.session"/>
     <h4><a name="session">session</a></h4>
     <p>wrapper for a sequence of <a href="#latka.ref.request">request</a>s associated with the same state (session)</p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT session (<a href="#latka.ref.request">request</a>+)&gt;
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT session (+)&gt;
   &lt;!ATTLIST session sessionId CDATA #IMPLIED
  -                     label      CDATA #IMPLIED&gt;</source>
  -         </p>
  +                     label      CDATA #IMPLIED&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
                  <table>
  @@ -678,12 +748,19 @@
   <a name="latka.ref.statusCode"/>
     <h4><a name="statusCode">statusCode</a></h4>
     <p>validates an HTTP response code</p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT statusCode EMPTY&gt;
  -&lt;!ATTLIST statusCode code  CDATA "200"
  -                      label CDATA #IMPLIED&gt;</source>
  -         </p>
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT statusCode EMPTY&gt;
  +&lt;!ATTLIST statusCode code  CDATA &quot;200&quot;
  +                      label CDATA #IMPLIED&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
                  <table>
  @@ -730,13 +807,20 @@
   <a name="latka.ref.suite"/>
     <h4><a name="suite">suite</a></h4>
     <p>root element for a suite of tests</p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT suite ( (<a href="#latka.ref.session">session</a> | <a href="#latka.ref.request">request</a>)+ )&gt;
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT suite ( ( | )+ )&gt;
   &lt;!ATTLIST suite defaultHost CDATA #IMPLIED
                      defaultPort CDATA #IMPLIED
  -                   label        CDATA #IMPLIED&gt;</source>
  -         </p>
  +                   label        CDATA #IMPLIED&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
                  <table>
  @@ -792,10 +876,17 @@
                  indicates the suite of validations to apply to the
                  current <a href="#latka.ref.request">request</a> (and its response)
               </p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT validate (<a href="#latka.ref.byteLength">byteLength</a> | <a href="#latka.ref.cookie">cookie</a> | <a href="#latka.ref.maxRequestTime">maxRequestTime</a> | <a href="#latka.ref.regexp">regexp</a> | <a href="#latka.ref.statusCode">statusCode</a> | <a href="#latka.ref.xpath">xpath</a> )+&gt;</source>
  -         </p>
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT validate ( |  |  |  |  |  )+&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
               <p>
  @@ -823,14 +914,21 @@
             xpath - assuming the HTTP(s) response contains XML, checks if an 
             <a href="http://www.w3.org/TR/xpath">XPath</a> expression matches
           </p>
  -<p><a name=""><strong>DTD</strong></a><br/>
  -            
  -            <source>&lt;!ELEMENT xpath EMPTY&gt;
  +<p><a name=""><strong>DTD</strong></a><br/></p>
  +  <div id="helptext">
  +    <table border="0" cellspacing="0" cellpadding="3" width="100%">
  +      <tr>
  +        <td>
  +          <p/>
  +          <pre>&lt;!ELEMENT xpath EMPTY&gt;
   &lt;!ATTLIST xpath select    CDATA          #REQUIRED
  -                   cond       (true | false) "true"
  +                   cond       (true | false) &quot;true&quot;
                      value     CDATA          #IMPLIED
  -                   label     CDATA          #IMPLIED&gt;</source>
  -        </p>
  +                   label     CDATA          #IMPLIED&gt;</pre>
  +        </td>
  +      </tr>
  +    </table>
  +  </div>
   <p><a name=""><strong>Attributes</strong></a><br/>
               
                  <table>
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>