commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly/xdocs todo.xml
Date Thu, 06 Jun 2002 13:13:21 GMT
jstrachan    2002/06/06 06:13:21

  Modified:    jelly/xdocs todo.xml
  Log:
  Reorganised the todo list in to core things, new tag libraries and patches to exisitng tag
libraries. 
  
  Also added details of STX and Joost, which could be an interesting tag library to add to
Jelly; a purely SAX based processing language similar to XSLT that does not require parsing
to occur.
  
  Revision  Changes    Path
  1.7       +29 -63    jakarta-commons-sandbox/jelly/xdocs/todo.xml
  
  Index: todo.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/xdocs/todo.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- todo.xml	2 Jun 2002 17:29:02 -0000	1.6
  +++ todo.xml	6 Jun 2002 13:13:21 -0000	1.7
  @@ -12,25 +12,17 @@
           The following is a list of items that need to be completed in
           Jelly.  Contributions are welcome!.
         </p>
  +      
  +      
  +    <section name="Core tasks"> 
         <ul>
  -        <li>support the use of ${foo.bar} expressions within attribute values (as
is common with Ant)
  -        	as well as inside element text also.</li>
  +        <li>support the use of ${foo.bar} expressions within element text.</li>
           <li>autogenerate tag library documentation, in a kinda javadoc style, showing
all tag libraries, 
   			their tags and descriptions of their tags</li>
  -        <li>Develop a http tag library, probably based on commons-httpclient, that
can be used for scripting web services</li>
  -		<li>Add tags &lt;copy&gt; &lt;copyOf&gt; &lt;element&gt;
&lt;attribute&gt; to JSL </li>
  -        <li>An XML validating tag library using MSV to validate XML against DTDs,
RelaxNG, XML Schema etc</li>
  -        <li>Implement a Schematron tag library for validing XML using a path based
approach, rather than schema based.</li>
           <li>Patch TagLibrary to alias all &lt;mixedCase&gt; tags to &lt;mixed-case&gt;
 tags</li>
  -		<li>Add JSL test cases to test for ordering of patterns and that the correct output
comes out.</li>
   		<li>Rename the DynaTag interface to be DynamicAttributes along with JSP1.3, 
   			also add a namespace URI parameter
   		</li>
  -		<li>Add JUnit tags along these lines...
  -<pre>&lt;junit:assert test="${foo == 22}"&gt;some description&lt;/junit:assert&gt;
  -&lt;junit:assertEquals value="${foo}" expected="${22}"&gt;some description&lt;/junit:assert&gt;
  -</pre>
  -		</li>
   		<li>Add support for namespace URI use inside XPath expressions.</li>
   		<li>When defining new tags using &lt;define:tag&gt;, we should allow attributes
to be named,<br/>
   			specified as required, specify the optional conditions and so forth for validating instances.<br/>

  @@ -41,7 +33,6 @@
   			Also some of the classes in this package could maybe do with a rename? <br/>
   			ScriptBlock for example - should we just call it a Block or maybe a CompositeScript?
   		</li>
  -		<li>Add EmptyScript to allow tags optimise if their body is empty.</li>
   		<li>Add whitespace trimming support. <br/>
   			Allow a taglib to decide which tags 'trim' and which don't so that<br/>
   			unnecessary whitespace can be removed at compile time.
  @@ -52,9 +43,6 @@
   			and variable name. Then things like  cookie:foo or initParam:bar can be parsed <br/>
   			at compile time into an object.<br/>
   		</li>
  -		<li>Add getResource() and getResourceAsStream() methods from ServletContext to
<br/>
  -			Context to allow  included files to be loaded etc.
  -		</li>
   		<li>Add an adapter to run JSP tag libraries inside Jelly when Jelly is used in
a 
   			Servlet / JSP environment?
   		</li>
  @@ -63,58 +51,34 @@
   			need to be XML. This could allow Velocity-style concise notation <br/>
   			for common Jelly tags.
   		</li>
  -		<li>Provide easy compile time tag transformations. Here are some possible use cases
  -<pre>
  -&lt;magic:form&gt;
  -	&lt;form&gt;
  -		  &lt;input name="foo"&gt;
  -		  &lt;input name="bar"&gt;
  -	&lt;/form&gt;
  -&lt;/magic:form&gt;
  -</pre>
  -			Then at 'parse/compile' time the &lt;magic:form&gt; could transform its fragment
  -			of real HTML into
  -<pre>
  -&lt;form&gt;
  -  &lt;input name="foo" &lt;j:expr value="${foo}"&gt;
  -  &lt;input name="bar" &lt;j:expr value="${bar}"&gt;
  -&lt;/form&gt;
  -</pre>
  -			i.e. tags can just be a simple transformation mechansim that can add some<br/>
  -			common programatical guff to scripts. <br/>
  -							Or <br/>
  -			We could do SOAP scripting...<br/>
  -<pre>
  -&lt;babelfish:translate from="EN" to="FR"&gt;
  -	hello Geir
  -&lt;/babelfish:translate&gt;
  -</pre>
  -			The &lt;babelfish:translate&gt; tag could really just be a small 'macro'<br/>
  -			autogenerated from a SOAP WSDL file that expands in place to the full SOAP<br/>
  -			equivalent of<br/>
  -<pre>
  -&lt;io:soap url=http://babelfish.altavista.com/soap 
  -            SOAPAction="urn:babelfish"&gt;
  -   &lt;io:body&gt;
  -	 &lt;SOAP-ENV:Envelope
  -			xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  -			SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"&gt;
  -	    &lt;SOAP-ENV:Body&gt;
  -		 &lt;babelfish:translate xmlns:babelfish="bablefish.altavista.com" from="EN" to="FR"&gt;
  -					hello Geir
  -		 &lt;/babelfish:translate&gt;
  -		&lt;/SOAP-ENV:Body&gt;
  -	 &lt;/SOAP-ENV:Envelope&gt;
  -   &lt;/io:body&gt;
  -&lt;/io:soap&gt;
  +	  </ul>
  +    </section>
  +      
  +    <section name="Ideas for new tag libraries"> 
  +      <ul>
  +        <li>conside a tag library which implements the <a href="http://stx.gingerall.cz/stx/index.html">STX</a>
  +        	specification for the SAX based transformation of XML. This is kinda like XPath
and XSLT but is based
  +        	purely on a SAX stream. Maybe we could wrap <a href="http://www.obqo.de/joost">Joost</a>
  +        	in a Jelly tag library
  +		</li>
  +        <li>Develop a http tag library, probably based on commons-httpclient, that
can be used for scripting web services</li>
  +        <li>An XML validating tag library using MSV to validate XML against DTDs,
RelaxNG, XML Schema etc</li>
  +        <li>Implement a Schematron tag library for validing XML using a path based
approach, rather than schema based.</li>
  +		<li>Add JUnit tag library along these lines...
  +<pre>&lt;junit:assert test="${foo == 22}"&gt;some description&lt;/junit:assert&gt;
  +&lt;junit:assertEquals value="${foo}" expected="${22}"&gt;some description&lt;/junit:assert&gt;
   </pre>
  -		  So its more of a traditional macro - though could be implemented using XML<br/>
  -		  technology for the transformation (e.g .it could use SAX, XSLT, XPath or<br/>
  -		  DVSL to transform itself and its body).
   		</li>
  +	  </ul>
  +    </section>
   
  +    <section name="Changes to existing tag libraries"> 
  +      <ul>
  +		<li>Add JSL test cases to test for ordering of patterns and that the correct output
comes out.</li>
  +		<li>Add tags &lt;copy&gt; &lt;copyOf&gt; &lt;element&gt;
&lt;attribute&gt; to JSL </li>
   	  </ul>
       </section>
  +
       <section name="Ponder about"> 
         <p>
           The following is a list of things that might be good to add to Jelly, maybe after
more thought.
  @@ -132,6 +96,8 @@
   &lt;/style&gt;</pre>
   		</li>
   	  </ul>
  +    </section>
  +    
       </section>
     </body>
   </document>
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message