www cleanup problem

Hiroki Sato hrs at FreeBSD.org
Mon Aug 21 18:46:02 UTC 2006


Daniel Gerzo <danger at FreeBSD.org> wrote
  in <1638431039.20060821111346 at rulez.sk>:

da> Hello doc,
da>
da>   We have a problem with handling of entities in our XSLT templates
da>   since Hiroki's cleanup. It seems like events and news pages have
da>   this problem and there are possibly more such places.
da>
da>   We have <!ENTITY base ".."> in .xsl temaplates and then we use in
da>   our calls for example:
da>
da>     <ul>
da>       <li><a href="&base;/java/newsflash.html">&java; on FreeBSD</a></li>
da>       <li><a href="http://freebsd.kde.org/">KDE on FreeBSD</a></li>
da>       <li><a href="&base;/gnome/newsflash.html">GNOME on FreeBSD</a></li>
da>     </ul>
da>
da>   but this doesn't really work. Does anybody have idea, what's going
da>   on here?

 I committed a fix just now.  The problem was caused by
 the entity definitions of &base; that were different from each
 other in .xsl and .xml files for a .html file.

--
| Hiroki SATO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20060822/a79e6668/attachment.sig>


More information about the freebsd-doc mailing list