You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-dev@jakarta.apache.org by Glenn Nielsen <gl...@voyager.apg.more.net> on 2001/07/20 23:44:40 UTC

Re: cvs commit: jakarta-taglibs/dbtags/examples/web jdbc.jspjndijdbc.jsp

Morgan,

Making the restrictions section optional would be an easy change
to the jakarta-taglibs/src/taglib/taglib-doc.xsl stylesheet.

We aren't doing any validation of the {taglib}/xml/{taglib}.xml file,
so there is no need for a DTD.

Thanks for volunteering to make this change to taglib-doc.xsl. ;-)
Please do a global clean, then build dist to make sure the build
didn't break somehow before committing.

Thanks,

Glenn

Morgan Delagrange wrote:
> 
> Thanks Glenn.  :)  The build.xml is in good shape, but dbtags still won't
> be a good distro until I finish the new TLD-generating XML.  But at least
> the build will work.
> 
> Say, you wouldn't happen to have a DTD for your schema, would you?  Might
> be nice, e.g., to make "restrictions" optional and let the stylesheet
> assume a reasonable default.
> 
> - M
> 
> On 20 Jul 2001 glenn@apache.org wrote:
> 
> > glenn       01/07/20 03:20:58
> >
> >   Modified:    dbtags/examples/web jdbc.jsp jndijdbc.jsp
> >   Log:
> >   Fix example jsp's to work with new build so nigthly build works
> >
> >   Revision  Changes    Path
> >   1.9       +9 -1      jakarta-taglibs/dbtags/examples/web/jdbc.jsp
> >
> >   Index: jdbc.jsp
> >   ===================================================================
> >   RCS file: /home/cvs/jakarta-taglibs/dbtags/examples/web/jdbc.jsp,v
> >   retrieving revision 1.8
> >   retrieving revision 1.9
> >   diff -u -r1.8 -r1.9
> >   --- jdbc.jsp        2001/05/27 16:38:00     1.8
> >   +++ jdbc.jsp        2001/07/20 10:20:58     1.9
> >   @@ -1,3 +1,10 @@
> >   +<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> >   +<html>
> >   +<head>
> >   +   <title>Jakarta DBTAGS Taglib Example</title>
> >   +</head>
> >   +<body bgcolor="white">
> >   +
> >    <%@ taglib uri="http://jakarta.apache.org/taglibs/dbtags" prefix="sql" %>
> >
> >    <P><B>Opening connection</B></P>
> >   @@ -229,4 +236,5 @@
> >    <jsp:getProperty name="conn1" property="closed"/>
> >
> >    <p><b>Success!</b></p>
> >   -
> >   +</body>
> >   +</html>
> >
> >
> >
> >   1.4       +9 -1      jakarta-taglibs/dbtags/examples/web/jndijdbc.jsp
> >
> >   Index: jndijdbc.jsp
> >   ===================================================================
> >   RCS file: /home/cvs/jakarta-taglibs/dbtags/examples/web/jndijdbc.jsp,v
> >   retrieving revision 1.3
> >   retrieving revision 1.4
> >   diff -u -r1.3 -r1.4
> >   --- jndijdbc.jsp    2001/05/03 15:42:12     1.3
> >   +++ jndijdbc.jsp    2001/07/20 10:20:58     1.4
> >   @@ -1,3 +1,10 @@
> >   +<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
> >   +<html>
> >   +<head>
> >   +   <title>Jakarta DBTAGS Taglib Example</title>
> >   +</head>
> >   +<body bgcolor="white">
> >   +
> >    <%@ taglib uri="http://jakarta.apache.org/taglibs/dbtags" prefix="sql" %>
> >
> >    <P><B>Opening connection</B></P>
> >   @@ -141,4 +148,5 @@
> >    <jsp:getProperty name="conn1" property="closed"/>
> >
> >    <p><b>Success!</b></p>
> >   -
> >   +</body>
> >   +</html>
> >
> >
> >
> >

-- 
----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

Re: cvs commit: jakarta-taglibs/dbtags/examples/web jdbc.jspjndijdbc.jsp

Posted by Glenn Nielsen <gl...@voyager.apg.more.net>.
Morgan Delagrange wrote:
> 
> On Fri, 20 Jul 2001, Glenn Nielsen wrote:
> 
> > Morgan,
> >
> > Making the restrictions section optional would be an easy change
> > to the jakarta-taglibs/src/taglib/taglib-doc.xsl stylesheet.
> >
> > We aren't doing any validation of the {taglib}/xml/{taglib}.xml file,
> > so there is no need for a DTD.
> 
> The XML doc has a fair number of elements, so it may still be nice to have
> a DTD.  I can whip one up if you don't have one ready.
> 

Yes, a DTD can be handy if you want to use an XML editor like Xeena.
Go for it!

> > Thanks for volunteering to make this change to taglib-doc.xsl. ;-)
> > Please do a global clean, then build dist to make sure the build
> > didn't break somehow before committing.
> 
> You got it.
> 

Thanks!

Glenn

----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

Re: cvs commit: jakarta-taglibs/dbtags/examples/web jdbc.jspjndijdbc.jsp

Posted by Morgan Delagrange <mo...@apache.org>.

On Fri, 20 Jul 2001, Glenn Nielsen wrote:

> Morgan,
> 
> Making the restrictions section optional would be an easy change
> to the jakarta-taglibs/src/taglib/taglib-doc.xsl stylesheet.
> 
> We aren't doing any validation of the {taglib}/xml/{taglib}.xml file,
> so there is no need for a DTD.

The XML doc has a fair number of elements, so it may still be nice to have
a DTD.  I can whip one up if you don't have one ready.

> Thanks for volunteering to make this change to taglib-doc.xsl. ;-)
> Please do a global clean, then build dist to make sure the build
> didn't break somehow before committing.

You got it.

> Thanks,
> 
> Glenn
>