You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Jon Stevens <jo...@latchkey.com> on 2001/04/12 18:21:53 UTC

FW: A very minor Velocity/Anakia buglet

Geir, it looks like a parsing bug.

-jon

------ Forwarded Message
From: "Diethelm Guallar, Gonzalo" <Go...@sonda.com>
Reply-To: turbine-dev@jakarta.apache.org
Date: Thu, 12 Apr 2001 11:18:35 -0400
To: "'turbine-dev@jakarta.apache.org'" <tu...@jakarta.apache.org>
Subject: A very minor Velocity/Anakia buglet

I noticed that xdocs/index.xml has these lines:


  <section name="Where is the latest TDK?">
  JDK 1.2 versions are available <a
  href="http://jakarta.apache.org/turbine/tdk/">Here</a>.
  </section>


(notice the '.' at the end). However the generated
index.html has (with some blanks stripped):


  <blockquote>
   <a href="http://jakarta.apache.org/turbine/tdk/">Here</a>
  </blockquote>


The final '.' is gone...


-- 
Gonzalo A. Diethelm
gonzalo.diethelm@sonda.com

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org


------ End of Forwarded Message


Re: FW: A very minor Velocity/Anakia buglet

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
Jon Stevens wrote:
> 
> Geir, it looks like a parsing bug.

Nah.  Velocity doesn't parse the XML.

The source is malformed.  It should be

   <section name="Where is the latest TDK?">
    <p>
     JDK 1.2 versions are available <a
    href="http://jakarta.apache.org/turbine/tdk/">Here</a>.
    </p>
   </section>

I already posted a 'patch' to turbine list...

geir

> 
> ------ Forwarded Message
> From: "Diethelm Guallar, Gonzalo" <Go...@sonda.com>
> Reply-To: turbine-dev@jakarta.apache.org
> Date: Thu, 12 Apr 2001 11:18:35 -0400
> To: "'turbine-dev@jakarta.apache.org'" <tu...@jakarta.apache.org>
> Subject: A very minor Velocity/Anakia buglet
> 
> I noticed that xdocs/index.xml has these lines:
> 
>   <section name="Where is the latest TDK?">
>   JDK 1.2 versions are available <a
>   href="http://jakarta.apache.org/turbine/tdk/">Here</a>.
>   </section>
> 
> (notice the '.' at the end). However the generated
> index.html has (with some blanks stripped):
> 
>   <blockquote>
>    <a href="http://jakarta.apache.org/turbine/tdk/">Here</a>
>   </blockquote>
> 
> The final '.' is gone...
> 
> --
> Gonzalo A. Diethelm
> gonzalo.diethelm@sonda.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-dev-help@jakarta.apache.org
> 
> ------ End of Forwarded Message

-- 
Geir Magnusson Jr.                               geirm@optonline.net
Developing for the web?  See http://jakarta.apache.org/velocity/