forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gav...." <brightoncomput...@brightontown.com.au>
Subject Re: [jira] Commented: (FOR-680) The jspwiki parser renders nested lists invalid
Date Tue, 25 Oct 2005 10:01:25 GMT

----- Original Message ----- 
From: "David Crossley" <crossley@apache.org>
To: <dev@forrest.apache.org>
Sent: Tuesday, October 25, 2005 1:03 PM
Subject: Re: [jira] Commented: (FOR-680) The jspwiki parser renders nested 
lists invalid


| 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.

And you think I do :) , Well from what I am trying to understand, is
whether this or something else happens,

jspwiki.sample.jpswiki -> jspwiki-sample.xml -> wiki2xdoc.xsl -> 
jspwiki-sample.html

|
| > | 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.

The Issue was logged and raised by someone who uses it, I'm guessing that 
they
might need it but have no idea how to fix it, at least, they haven't jumped 
in at
this point.

What else would you have me do, if not to reduce Issues. I have no need for
anything, its a wanting to learn and contribute. When Thorsten has v2 
working,
I will build a site based on that, and work on whatever that produces, but 
in the
meantime I'm still getting to know the innards a little more.

Gav...

|
| -David



-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.361 / Virus Database: 267.12.5/147 - Release Date: 24/10/2005



-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/



Mime
View raw message