Greetings everyone!

I'm having an odd problem with Lenya. Whenever my raw content files
(pubs/default/content/authoring/**/index_en.xml) files have hyperlinks
like this:

<a href="/default/authoring/something.something">foo</a>

then when the page is rendered in Lenya I just get:

foo

In other words, the <a...> tag is completely removed.  I assume some
xsl file somewhere is doing it, but I can't figure out where and wny. 
Any idea what transformation would do this nasty thing?

I know hyperlink URI's in Lenya are normally like "page/index_en.xml"
(these links come out of the FCKeditor WYSIWYG editor link this), and
I assume the "/default/authoring/" part is triggering the hyperlink
removal code.  In fact, when I cahnge "/default/authoring/" to
anything else the the hyperlink *doesn't* disappear.

Here's a typical index_en.xml file having the problem:

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml";
 xmlns:i18n="http://apache.org/cocoon/i18n/2.1";
  xmlns:dcterms="http://purl.org/dc/terms/";
   xmlns:dc="http://purl.org/dc/elements/1.1/";
    xmlns:lenya="http://apache.org/cocoon/lenya/page-envelope/1.0";>
    <lenya:meta><dc:title>dctitle</dc:title>
    <dc:creator>Levi Vanya</dc:creator>
    <dc:subject>dcsubject</dc:subject>
    <dc:publisher></dc:publisher>
    <dc:contributor></dc:contributor>
    <dc:date>Tue Dec 20 09:06:08 EST 2005</dc:date>
    <dc:type></dc:type><dc:format></dc:format>
    <dc:identifier></dc:identifier><dc:source></dc:source>
    <dc:language>en</dc:language><dc:relation></dc:relation>
    <dc:coverage></dc:coverage><dc:rights>dcrights</dc:rights>
    <dcterms:issued></dcterms:issued><dcterms:modified></dcterms:modified>
    </lenya:meta>
    <head><title>dctitle</title>
    </head>
    <body>
<h1>Default Publication</h1>

<p>Here's a <a href="/default/authoring/test/happy.jpg">Happy</a> link.
</p>

</body></html>

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

Reply via email to