forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: Bugs in the XHTML-Pipeline
Date Wed, 24 Aug 2005 10:33:37 GMT
On Wed, 2005-08-24 at 12:15 +0200, Ferdinand Soethe wrote:
> Thorsten Scherler wrote:
> 
> > grep "ForrestTable" * -r|grep -v .svn|grep class
> 
> > brings:
> > forrest-trunk/main/webapp/skins/common/xslt/html/document2html.xsl:
> > <table cellpadding="4" cellspacing="1" class="ForrestTable">
> 
> Hmm. Taking one closer look at this document I realized that this is
> part of the skinning.
> 
> But then (pardon my desire to understand this), how do you explain
> that I already get
> 
> <table class="ForrestTable" cellspacing="1" cellpadding="4">
> <tr>
> 
> when I call http://localhost:8888/body-lernorte.html
> 
> Should this not be the unskinned version of my document's body and thus
> have not applied the above transformation to it?

No, not necessarily because
grep body- * -n

gives you:
sitemap.xmap:461:      <map:match pattern="**body-*.html">
sitemap.xmap:475:      <map:match pattern="**body-*.html">

The first one is for raw html docs. There you find:
<map:transform src="{forrest:stylesheets}/html2htmlbody.xsl" />

The second is for the internal format. 

Anyway, both have transformations in it before returning the document.

HTH

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)

--------------------------------------------------------------
Thorsten Scherler
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org




Mime
View raw message