I forgot the other killer problem -- if the container is doing a
validating parse on the TLD, it will choke on nested HTML markup, even if
it is well formed.

Craig


On Sat, 3 Aug 2002, Craig R. McClanahan wrote:

> Date: Sat, 3 Aug 2002 10:58:33 -0700 (PDT)
> From: Craig R. McClanahan <[EMAIL PROTECTED]>
> Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> To: Struts Developers List <[EMAIL PROTECTED]>
> Subject: RE: cvs commit: jakarta-struts/doc/stylesheets userGuide.xsl
>
>
>
> On Sat, 3 Aug 2002, Martin Cooper wrote:
>
> > Date: Sat, 3 Aug 2002 10:53:12 -0700
> > From: Martin Cooper <[EMAIL PROTECTED]>
> > Reply-To: Struts Developers List <[EMAIL PROTECTED]>
> > To: 'Struts Developers List' <[EMAIL PROTECTED]>
> > Subject: RE: cvs commit: jakarta-struts/doc/stylesheets userGuide.xsl
> >
> > This reminds me of a question I've been meaning to ask. In Struts, we
> > generate the tld files from our own XML format, which is actually quite
> > close to a tld itself. Is there any chance that JSP 2.0 might add enough to
> > the tld format so that we wouldn't need our own format? Then we wouldn't
> > need a transformation to get our tlds, but we could transform the tld itself
> > to generate our docs. It seems to me that everyone could benefit from this,
> > too, not just us Struts folks.
> >
>
> They added some stuff, but the killer for me is that the standard will
> never have *everything* we want.  For example, I'm working on 11388 right
> now since I was in the middle of things (add an explicit <default> element
> inside the attribute definition to document the default value), which will
> help Struts-oriented tools that want to (say) auto-generate code.  But one
> could argue about the general applicability of such an element.
>
> > --
> > Martin Cooper
>
> Craig
>
>
> >
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > Sent: Saturday, August 03, 2002 10:46 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: cvs commit: jakarta-struts/doc/stylesheets userGuide.xsl
> > >
> > >
> > > craigmcc    2002/08/03 10:45:47
> > >
> > >   Modified:    doc/stylesheets userGuide.xsl
> > >   Log:
> > >   Take advantage of XSLT's sorting ability to ensure that
> > > attribute lists and
> > >   tag lists are always documented in alphabetical order.
> > > Thanks for the
> > >   patch!
> > >
> > >   PR: 11435
> > >   Submitted by:   Steve Byrne <sbb at penguinis.org>
> > >
> > >   Revision  Changes    Path
> > >   1.6       +6 -2      jakarta-struts/doc/stylesheets/userGuide.xsl
> > >
> > >   Index: userGuide.xsl
> > >   ===================================================================
> > >   RCS file: /home/cvs/jakarta-struts/doc/stylesheets/userGuide.xsl,v
> > >   retrieving revision 1.5
> > >   retrieving revision 1.6
> > >   diff -u -r1.5 -r1.6
> > >   --- userGuide.xsl       16 Feb 2002 16:12:56 -0000      1.5
> > >   +++ userGuide.xsl       3 Aug 2002 17:45:47 -0000       1.6
> > >   @@ -184,6 +184,7 @@
> > >                  <th>Description</th>
> > >                </tr>
> > >                <xsl:for-each select="tag">
> > >   +              <xsl:sort select="name"/>
> > >                  <tr>
> > >                    <td align="center">
> > >                      <xsl:variable name="name">
> > >   @@ -200,7 +201,9 @@
> > >            </blockquote>
> > >          </td></tr>
> > >        </table>
> > >   -    <xsl:apply-templates select="tag"/>
> > >   +    <xsl:apply-templates select="tag">
> > >   +      <xsl:sort select="name"/>
> > >   +    </xsl:apply-templates>
> > >      </xsl:template>
> > >
> > >      <!-- Process an individual tag -->
> > >   @@ -241,6 +244,7 @@
> > >                <th>Description</th>
> > >              </tr>
> > >              <xsl:for-each select="attribute">
> > >   +            <xsl:sort select="name"/>
> > >                <tr>
> > >                  <td align="center">
> > >                    <xsl:value-of select="name"/>
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to