forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phillip Evans" <pev...@wukwuk.com>
Subject RE: simplified docbook plugin (Was: Forrest run works but forrest doesn't)
Date Wed, 03 Aug 2005 05:41:44 GMT
 

> -----Original Message-----
> From: Ross Gardler [mailto:rgardler@apache.org] 
> Sent: Wednesday, August 03, 2005 3:06 PM
> To: user@forrest.apache.org
> Subject: Re: simplified docbook plugin (Was: Forrest run 
> works but forrest doesn't)
> 
> Phillip Evans wrote:
> 
> 
> > Thanks for your time on this. I have done as you outlined. After 
> > running forrest site in testSDocbook directory I again got 
> the message 
> > in the
> > console:
> > 
> > BROKEN: 
> > C:\apachefriends\xampp\htdocs\apache-forrest-0.7\plugins\plugins.xml
> > <The system cannot find the file specified>
>  >
> > However all the plugins appeared to be retrieved and 
> configured as you 
> > describe.
> 
> Yes the plugin download mechanism doesn't use a local copy of 
> the file (neither does the docs build anymore, thanks to your 
> report above).
> 
> > I checked the distribution zip file for forrest and found that 
> > \apache-forrest-0.7\plugins\plugins.xml was present, so 
> copied it to 
> > where it should have been in my installation. I re-ran forrest site 
> > without problems.
> 
> How can it have been present in the distribution but not in 
> your installation? Is it safe for me to assume that this is a 
> problem local to you rather than in the distribution.

Yes, safe to assume that. I have no explanation for it not being there in
the installation, but a local problem, yes.

> > I then ran forrest run in:
> > 
> FORREST_HOME/build/plugins/org.apache.forrest.plugin.input.simplifiedD
> > ocbook without problems, and could view sdocbook.html and .pdf
> > 
> > I then tried adding one of my own sdocbook documents, and again had 
> > the problem of no content. I checked out input.xmap, and 
> found that it 
> > had a sourcetype of sdocbook-v1.0, whereas my documents are all 
> > sdocbook-v1.1
> > 
> > I assigned sdocbook-v1.0 to a couple of my documents, and 
> they worked fine.
> > 
> > I suppose it is possible to modify input.xmap so that will accept
> > sdocbook-v1.1 as well?
> > 
> > Where should that be done?
> 
> I've updated the plugin for version 4.1.2.5 of the plugin but 
> there isn't a released 1.1 version that I can see ( 
> http://www.oasis-open.org/docbook/xml/simple/ ). What is the 
> public identifier you are using?

I've been using a version from docbook.org which although it says it is
available at Oasis, actually isn't. It looks like I've mixed up the public
identifier in the following.

<!DOCTYPE article PUBLIC "-//OASIS//DTD Simplified DocBook XML V1.1//EN"
                  "http://docbook.org/xml/simple/1.1/sdocbook.dtd">

Perhaps I should revert to v1.0 for my documents?

> 
> Once I know what we need to add I'll update the plugin. If 
> you want to do this yourself (and supply a patch please) then 
> take a look at input.xmap The supported DTD's are listed at 
> the top of the file and you will need to add a matcher later 
> in the file, it is pretty much a cut and past job.
>

Phil


Mime
View raw message