forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: [jira] Commented: (FOR-680) The jspwiki parser renders nested lists invalid
Date Tue, 25 Oct 2005 05:03:00 GMT
Gav.... wrote:
> | >
> | > Anywhere else I should be looking ?
> |
> | Don't forget the sitemaps too. They build a parser
> | out of the grammar and then apply it to the text.
> | plugins/...input.wiki/input.xmap lines 55 and 56
> | and then either
> | plugins/...input.wiki/input.xmap line 93
> | or
> | webapp/sitemap.xmap line 326
> | (i am not sure which).
> |
> | Change the wiki/input.xmap at line 91 to let
> | the pipeline be external, then view
> | localhost:8888/wiki.xlex
> 
> I did that but resource not found.

Oh, i just tried it too. It seems that setting
<map:pipeline type="caching" internal-only="false">
has no effect when used in a plugin. It does work when
used in the main/webapp sitemaps.

> | Perhaps the wiki.grm is not quite correct or too
> | strict. Wiki documents are very fragile. Perhaps
> | there is an additional space (or some such) before
> | or after the bullet item in the source file.
> 
> No spaces that I know of, the wiki.grm seems correct from what
> little I know, but am still checking it out.

Good luck then.

> | Also try looking at the intermediate pipelines
> | to see if xml is being created properly at each step
> | of the way.
> |
> | The easiest way to do that is to use the
> | Cocoon Sitemap Profiler:
> | http://forrest.apache.org/docs_0_80/howto/howto-dev.html#debug
> 
> Ok, did that, wow, seems to be a lot going on there!
> 
> The .xml file contains the wrong code, not knowing too much
> at this stage I'm not sure if it is a base .xml file that the xsl uses
> to produce the final html output or if it is an output .xml file
> as a result of the xsl. It is important that I determine this
> obviously as it would rule in or out the xsl as the problem.
> 
> I would suspect a pipeline otherwise (npi) but can not see where
> any problem lies at the moment.

Sorry, i have no idea what those last two paragraphs mean.

> | Otherwise add an xml serializer at certain points
> | in wiki/input.xmap and comment-out the remainder
> | of the map:match, then view it at
> | localhost:8888/samples/jspwiki-sample.xml
> 
> Ok, not tried that yet.
> 
> | You are a glutton for punishment :-) First you pick
> | an i18n-related issue which turned complex, now
> | taking on Chaperon/Wiki. Only persist if it is fun
> | for you or if you have a need. Thanks anyway.
> 
> It does seem that way doesn't it :)
> It's a good exercise for me, the need is to
> accomplish the desired result and reduce the
> Issues.

If it to only to reduce the number of issues,
then i suggest to leave it alone and get on
with something else, and wait for someone who
actually needs it to provide a patch.

-David

Mime
View raw message