You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by ba...@generationjava.com on 2001/12/01 01:48:55 UTC

Re: unable to use string taglib

Thanks for the report Maciej,

It's the second time someone's reported this, so although the taglib
builds fine for me from CVS, something must be going wrong in the nightly
build. I'll grab a nightly build and compare the files to the output of
CVS to see if I can figure out what's wrong.

I'll get back with you over the weekend,

Bay


On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko�odziej wrote:

> Hi,
>
> Well,  I  think  I  found  main  cause  for that error. Why there are no
> <tagclass>  tags  in  tags  definition  in string.tld? There's no clue
> where class files for that library are.
> I'm writing about 20011128-20011130 nighty builds.
>
> --
> Best regards,
>  Maciej
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


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


Re: XSL TagLib

Posted by James Strachan <ja...@yahoo.co.uk>.
We've got quite a few XSL taglibs now ;-)

There's the old XSL taglib here which is a bit crufty these days. There's
XTags which comes with <xtags:style> which uses JAXP1.1 so works with Xalan
and Saxon as well as an <xtags:xalanStyle> which uses the old Xalan 1 API
for backwards compatability.

Then there's JSTL (the JSP standard tag library) which comes with XML tags
which will ultimately supercede XTags as the standard JSP tags for XML,
XPath and XSLT. The tags have close integration with the core JSTL tags, the
new Expression Language support and IO.

So I guess you could say we're at version 3.0 of XSLT tags now. It might be
worth taking a look at the XSLT tags in JSTL and seeing if you've any ideas
on how they can be improved.

James
----- Original Message -----
From: "Bob Lee" <cr...@crazybob.org>
To: "Tag Libraries Developers List" <ta...@jakarta.apache.org>
Sent: Monday, December 03, 2001 5:43 AM
Subject: XSL TagLib


> I wrote a production-quality xsl taglib that has a couple of features that
> may be useful to other taglibs and Jakarta projects. I would have added to
> the existing lib, but it depends on Xalan 1 and is pretty rudimentary by
the
> author's own admission as it is for educational purposes.
>
> I don't have the standard build.xml or Apache licenses in yet. I figured
I'd
> run the lib by you before I spent time on it.
>
> Please give it a once over and let me know if you all want to include it.
> There're some good examples with it that use both local and remote xml
> documents. I don't have examples that embed xml in the tag body or that
use
> a pre-parsed DOM, but you can do both of these as well.
>
> I could use some help testing. You can get the source @
> http://crazybob.org/xsl.zip.
>
> Thank you and enjoy!
> Bob
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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


XSL TagLib

Posted by Bob Lee <cr...@crazybob.org>.
I wrote a production-quality xsl taglib that has a couple of features that
may be useful to other taglibs and Jakarta projects. I would have added to
the existing lib, but it depends on Xalan 1 and is pretty rudimentary by the
author's own admission as it is for educational purposes.

I don't have the standard build.xml or Apache licenses in yet. I figured I'd
run the lib by you before I spent time on it.

Please give it a once over and let me know if you all want to include it.
There're some good examples with it that use both local and remote xml
documents. I don't have examples that embed xml in the tag body or that use
a pre-parsed DOM, but you can do both of these as well.

I could use some help testing. You can get the source @
http://crazybob.org/xsl.zip.

Thank you and enjoy!
Bob



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


Re: unable to use string taglib

Posted by ba...@generationjava.com.
Thanks Glenn.

I managed to twig this, but apache.org seemed to be down for me. I'm an
@Home'r though, so who knows what's going on with my connection half the
time.

On Sun, 2 Dec 2001, Glenn Nielsen wrote:

> the tld file.  I have maded the change and committed it to CVS.





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


Re: unable to use string taglib

Posted by Glenn Nielsen <gl...@voyager.apg.more.net>.
The taglib build system uses an XML data file to define the taglib
in taglib/xml/taglib.xml, for the string taglib this is string/xml/string.xml.
This is the source XML used for building documentation, tlds, etc.

The XSL stylesheet which generates the .tld file from the string/xml/string.xml
file expects the tag to define the tag class using the JSP 1.2 form of that element,
<tag-class/>.  The string taglib was using the JSP 1.1 element name <tagclass/>,
so the XSL stylesheet in the build wasn't generating any <tagclass/> elements in
the tld file.  I have maded the change and committed it to CVS.

Regards,

Glenn

bayard@generationjava.com wrote:
> 
> The nightly build is definitely shagged. No <tagclass>'s.
> 
> Have to see what jumps out at me...
> 
> On Sat, 1 Dec 2001, James Strachan wrote:
> 
> > The GUMP build certainly looks fine for jakarta-taglibs as well. Maybe its
> > something wierd on Glenn's nightly build
> >
> > http://jakarta.apache.org/builds/gump/latest/jakarta-taglibs.html
> >
> > James
> > ----- Original Message -----
> > From: <ba...@generationjava.com>
> > To: "Tag Libraries Users List" <ta...@jakarta.apache.org>
> > Sent: Saturday, December 01, 2001 12:48 AM
> > Subject: Re: unable to use string taglib
> >
> >
> > Thanks for the report Maciej,
> >
> > It's the second time someone's reported this, so although the taglib
> > builds fine for me from CVS, something must be going wrong in the nightly
> > build. I'll grab a nightly build and compare the files to the output of
> > CVS to see if I can figure out what's wrong.
> >
> > I'll get back with you over the weekend,
> >
> > Bay
> >
> >
> > On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko³odziej wrote:
> >
> > > Hi,
> > >
> > > Well,  I  think  I  found  main  cause  for that error. Why there are no
> > > <tagclass>  tags  in  tags  definition  in string.tld? There's no clue
> > > where class files for that library are.
> > > I'm writing about 20011128-20011130 nighty builds.
> > >
> > > --
> > > Best regards,
> > >  Maciej
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
> >
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

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

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


Re: unable to use string taglib

Posted by Glenn Nielsen <gl...@voyager.apg.more.net>.
The taglib build system uses an XML data file to define the taglib
in taglib/xml/taglib.xml, for the string taglib this is string/xml/string.xml.
This is the source XML used for building documentation, tlds, etc.

The XSL stylesheet which generates the .tld file from the string/xml/string.xml
file expects the tag to define the tag class using the JSP 1.2 form of that element,
<tag-class/>.  The string taglib was using the JSP 1.1 element name <tagclass/>,
so the XSL stylesheet in the build wasn't generating any <tagclass/> elements in
the tld file.  I have maded the change and committed it to CVS.

Regards,

Glenn

bayard@generationjava.com wrote:
> 
> The nightly build is definitely shagged. No <tagclass>'s.
> 
> Have to see what jumps out at me...
> 
> On Sat, 1 Dec 2001, James Strachan wrote:
> 
> > The GUMP build certainly looks fine for jakarta-taglibs as well. Maybe its
> > something wierd on Glenn's nightly build
> >
> > http://jakarta.apache.org/builds/gump/latest/jakarta-taglibs.html
> >
> > James
> > ----- Original Message -----
> > From: <ba...@generationjava.com>
> > To: "Tag Libraries Users List" <ta...@jakarta.apache.org>
> > Sent: Saturday, December 01, 2001 12:48 AM
> > Subject: Re: unable to use string taglib
> >
> >
> > Thanks for the report Maciej,
> >
> > It's the second time someone's reported this, so although the taglib
> > builds fine for me from CVS, something must be going wrong in the nightly
> > build. I'll grab a nightly build and compare the files to the output of
> > CVS to see if I can figure out what's wrong.
> >
> > I'll get back with you over the weekend,
> >
> > Bay
> >
> >
> > On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko³odziej wrote:
> >
> > > Hi,
> > >
> > > Well,  I  think  I  found  main  cause  for that error. Why there are no
> > > <tagclass>  tags  in  tags  definition  in string.tld? There's no clue
> > > where class files for that library are.
> > > I'm writing about 20011128-20011130 nighty builds.
> > >
> > > --
> > > Best regards,
> > >  Maciej
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
> >
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

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

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


Re: unable to use string taglib

Posted by Glenn Nielsen <gl...@voyager.apg.more.net>.
I'll look into the nightly build, it may have something to do with
my environment, i.e. xerces, xalan, ant, etc.

Also, Rich's recent commits to the mailer taglib broke the nightly
build.

And my DSL at home was down from late friday afternoon until just
an hour ago, so I have been offline.  (ISP was doing a major server upgrade/move).

bayard@generationjava.com wrote:
> 
> The nightly build is definitely shagged. No <tagclass>'s.
> 
> Have to see what jumps out at me...
> 
> On Sat, 1 Dec 2001, James Strachan wrote:
> 
> > The GUMP build certainly looks fine for jakarta-taglibs as well. Maybe its
> > something wierd on Glenn's nightly build
> >
> > http://jakarta.apache.org/builds/gump/latest/jakarta-taglibs.html
> >
> > James
> > ----- Original Message -----
> > From: <ba...@generationjava.com>
> > To: "Tag Libraries Users List" <ta...@jakarta.apache.org>
> > Sent: Saturday, December 01, 2001 12:48 AM
> > Subject: Re: unable to use string taglib
> >
> >
> > Thanks for the report Maciej,
> >
> > It's the second time someone's reported this, so although the taglib
> > builds fine for me from CVS, something must be going wrong in the nightly
> > build. I'll grab a nightly build and compare the files to the output of
> > CVS to see if I can figure out what's wrong.
> >
> > I'll get back with you over the weekend,
> >
> > Bay
> >
> >
> > On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko³odziej wrote:
> >
> > > Hi,
> > >
> > > Well,  I  think  I  found  main  cause  for that error. Why there are no
> > > <tagclass>  tags  in  tags  definition  in string.tld? There's no clue
> > > where class files for that library are.
> > > I'm writing about 20011128-20011130 nighty builds.
> > >
> > > --
> > > Best regards,
> > >  Maciej
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
> >
> >
> > _________________________________________________________
> > Do You Yahoo!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> >
> > --
> > To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> > For additional commands, e-mail: <ma...@jakarta.apache.org>
> >
> >
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

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

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


Re: unable to use string taglib

Posted by ba...@generationjava.com.
The nightly build is definitely shagged. No <tagclass>'s.

Have to see what jumps out at me...

On Sat, 1 Dec 2001, James Strachan wrote:

> The GUMP build certainly looks fine for jakarta-taglibs as well. Maybe its
> something wierd on Glenn's nightly build
>
> http://jakarta.apache.org/builds/gump/latest/jakarta-taglibs.html
>
> James
> ----- Original Message -----
> From: <ba...@generationjava.com>
> To: "Tag Libraries Users List" <ta...@jakarta.apache.org>
> Sent: Saturday, December 01, 2001 12:48 AM
> Subject: Re: unable to use string taglib
>
>
> Thanks for the report Maciej,
>
> It's the second time someone's reported this, so although the taglib
> builds fine for me from CVS, something must be going wrong in the nightly
> build. I'll grab a nightly build and compare the files to the output of
> CVS to see if I can figure out what's wrong.
>
> I'll get back with you over the weekend,
>
> Bay
>
>
> On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko�odziej wrote:
>
> > Hi,
> >
> > Well,  I  think  I  found  main  cause  for that error. Why there are no
> > <tagclass>  tags  in  tags  definition  in string.tld? There's no clue
> > where class files for that library are.
> > I'm writing about 20011128-20011130 nighty builds.
> >
> > --
> > Best regards,
> >  Maciej
> >
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>


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


Re: unable to use string taglib

Posted by James Strachan <ja...@yahoo.co.uk>.
The GUMP build certainly looks fine for jakarta-taglibs as well. Maybe its
something wierd on Glenn's nightly build

http://jakarta.apache.org/builds/gump/latest/jakarta-taglibs.html

James
----- Original Message -----
From: <ba...@generationjava.com>
To: "Tag Libraries Users List" <ta...@jakarta.apache.org>
Sent: Saturday, December 01, 2001 12:48 AM
Subject: Re: unable to use string taglib


Thanks for the report Maciej,

It's the second time someone's reported this, so although the taglib
builds fine for me from CVS, something must be going wrong in the nightly
build. I'll grab a nightly build and compare the files to the output of
CVS to see if I can figure out what's wrong.

I'll get back with you over the weekend,

Bay


On Fri, 30 Nov 2001, [ISO-8859-1] Maciej Ko³odziej wrote:

> Hi,
>
> Well,  I  think  I  found  main  cause  for that error. Why there are no
> <tagclass>  tags  in  tags  definition  in string.tld? There's no clue
> where class files for that library are.
> I'm writing about 20011128-20011130 nighty builds.
>
> --
> Best regards,
>  Maciej
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


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




_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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