You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Clay Leeds <cl...@medata.com> on 2004/02/23 06:38:34 UTC

FOP's Forrest-based web site

Ross,

Thanks for your help! I've successfully built the FOP site on my box 
using forrest-0.5.1 (including a 'nice-looking' breadcrumb trail). I've 
got a couple of issues to resolve, but I think I'll plug away at it a 
bit longer before I ask for more help. Among other things, I'm 
attempting to move to site.xml from book.xml (no sense "learning" how 
to use book.xml, when I can move to site.xml, which appears to be the 
future). I believe the "successful" build was from my new 'site.xml' 
file... The issues I'm currently working on, are the Whole Site PDF 
generation & automatic tab "selection" (highlighting of the 'active' 
tab). If I were to ask for help, what pieces would you need? Would you 
want me to include any files (site.xml, book.xml, skinconf,xml, 
sitemap.xmap, sitemap-0.5.xmap, etc.)?

Thanks again for your quick responses!

Web Maestro Clay


Re: FOP's Forrest-based web site

Posted by Dave Brondsema <da...@brondsema.net>.
On Mon, 23 Feb 2004, Clay Leeds wrote:

> On Feb 23, 2004, at 8:50 AM, Clay Leeds wrote:
> > BTW, I notice that there's a book.xmlk file in each directory (dev/,
> > design/, altdesign/, etc.). Do I need a site.xml in those since I'm
> > "ridding" the site of book.xml files? (Also, I noticed this at the end
> > of the link you previously sent:
> >
> > http://xml.apache.org/forrest/linking.html#other-menu-selection
> >
> >   In general, however, we  recommend that users avoid book.xml.
> >
> > (which I take as further confirmation that my eradication of book.xml
> > is appropriate)
> >
> > Thanks!
>
> To further beat on this... Now that I have what appears to be a proper
> site.xml file, can I delete the book.xml files in /, design/, dev/ &
> design/alt.design/?
>
> Web Maestro Clay

Yes

site.xml specifies the navigation structure for the entire site.  You can
use book.xml on a per-directory basis to override the navigation menu for
documents in that directory.

For normal use, you have one site.xml in your xdocs directory and no
book.xml files


-- 
Dave Brondsema
dave@brondsema.net
http://www.brondsema.net - personal
http://www.splike.com - programming
http://csx.calvin.edu - Calvin club

Re: XPath expressions

Posted by Clay Leeds <cl...@medata.com>.
This is probably better suited for the XSLT mailing list (or possibly 
an XPath list, but a post to XSLT may get results):

http://www.mulberrytech.com/xsl/xsl-list/

Good luck!

Web Maestro Clay

On Feb 23, 2004, at 10:31 AM, Peter Meggitt wrote:

> I am to create an XML transformation that allows XML attributes and 
> elements
> to include (with some suitable delimiter) XPath expressions. For 
> example
> below, the expression {../@id} would get replaced by the evaluation of 
> the
> XPath expression ../@id. So:
>
> <tournament id="Big">
>   <desc>A big tournament</desc>
>   <tournament id="{../@id}.day1"/>
>   <tournament id="{../@id}.day2"/>
> </tournament>
>
> would get transformed to:
>
> <tournament id="Big">
>   <desc>A big tournament</desc>
>   <tournament id="Big.day1"/>
>   <tournament id="Big.day2"/>
> </tournament>
>
> Does anyone know of an XSLT transformation or other XML spec that would
> allow the evaluation of (XPath) expressions during the transformation
> process?
>
>


XPath expressions

Posted by Peter Meggitt <pm...@eviasoft.com>.
I am to create an XML transformation that allows XML attributes and elements
to include (with some suitable delimiter) XPath expressions. For example
below, the expression {../@id} would get replaced by the evaluation of the
XPath expression ../@id. So:

<tournament id="Big">
  <desc>A big tournament</desc>
  <tournament id="{../@id}.day1"/>
  <tournament id="{../@id}.day2"/>
</tournament>

would get transformed to:

<tournament id="Big">
  <desc>A big tournament</desc>
  <tournament id="Big.day1"/>
  <tournament id="Big.day2"/>
</tournament>

Does anyone know of an XSLT transformation or other XML spec that would
allow the evaluation of (XPath) expressions during the transformation
process?



Re: FOP's Forrest-based web site

Posted by Clay Leeds <cl...@medata.com>.
On Feb 23, 2004, at 8:50 AM, Clay Leeds wrote:
> BTW, I notice that there's a book.xmlk file in each directory (dev/, 
> design/, altdesign/, etc.). Do I need a site.xml in those since I'm 
> "ridding" the site of book.xml files? (Also, I noticed this at the end 
> of the link you previously sent:
>
> http://xml.apache.org/forrest/linking.html#other-menu-selection
>
>   In general, however, we  recommend that users avoid book.xml.
>
> (which I take as further confirmation that my eradication of book.xml 
> is appropriate)
>
> Thanks!

To further beat on this... Now that I have what appears to be a proper 
site.xml file, can I delete the book.xml files in /, design/, dev/ & 
design/alt.design/?

Web Maestro Clay


Re: FOP's Forrest-based web site

Posted by Clay Leeds <cl...@medata.com>.
On Feb 25, 2004, at 5:26 AM, Paul Smith wrote:
> I believe that to make the <all> section visible you have to add an
> attribute?  I think if you change the above to
>
> <all label="Whole site">
>   <all_site label="Whole Site HTML" href="site.html"/>
>   <all_sitePDF label="Whole Site PDF" href="site.pdf"/>
> </all>
>
> then the option will at least appear in your sidebar.

Thanks! That did the trick with the "Whole Site" stuff (although I  
still have a problem outlined below). I have a few other issues  
outlined here[1], but I've got some ideas...

In addition, I have a couple of questions:

1. I'm now  getting a new BUILD FAILED error (don't know what I  
changed). There are two BROKEN messages:

======
X [0]                       site.pdf    BROKEN:  
java.lang.RuntimeException: java.lang.RuntimeException:  
java.lang.RuntimeException: java.lang.RuntimeException:  
java.lang.RuntimeException: org.apache.fop.apps.FOPException: The id  
"design/alt.design/properties/introduction.html" already exists in this  
document
[..]
X [0]                       useragent.html      BROKEN:  
/Users/Shared/_WebDLs/xml-fop/build/tmp/context/content/xdocs/ 
useragent.xml (No such file or directory)
[..]
BUILD FAILED
/Users/Shared/_WebDLs/apache-forrest-0.5.1-bin/forrest.build.xml:631:  
Java returned: 1

Total time: 10 minutes 39 seconds
======

2. Currently my site structure has two elements with the same name. Is  
there a problem that I have two 'design' elements  
(/site/development/design & /site/design)? I was thinking of using  
indirect linking to resolve issues with links in the  
/site/development/design section (e.g., site:design). My site.xml file  
is currently something like this:

<site label="FOP" href="" xmlns="http://apache.org/forrest/linkmap/1.0"  
tab="home">
   <home label="Home">
     <index label="Introduction" href="index.html"/>
   </home>
[..]
   <development label="Development" href="dev/" tab="development">
     <introduction label="Introduction">
       <basics label="Basics" href="index.html"/>
     </introduction>

     <design label="Design" href="site:design" tab="design">
       <basics label="Resolved" href="index.html"/>
       <unresolved label="Unresolved (Wiki)"  
href="http://nagoya.apache.org/wiki/apachewiki.cgi?FOPProjectPages"/>
       <svg label="SVG" href="svg.html"/>
       <fonts label="Fonts" href="fonts.html"/>
       <extensions label="Extensions" href="extensions.html"/>
     </design>
[..]
   </development>

   <design label="Design" href="design/" tab="design">
     <about label="About">
       <introduction label="Introduction" href="index.html"/>
     </about>
[..]
   </design>
[..]
   <all label="Whole site">
   	<all_site label="Full HTML" href="site.html"/>
	  <all_sitePDF label="Full PDF" href="site.pdf"/>
   </all>

   <external-refs>
[..]
   </external-refs>
</site>

[1]
http://marc.theaimsgroup.com/?l=forrest-dev&m=107765400508559&w=2


Re: FOP's Forrest-based web site

Posted by Paul Smith <go...@yahoo.com>.
 --- Rob Exley <ro...@equifax.com> wrote: > -----BEGIN PGP SIGNED
MESSAGE-----
> Hash: SHA1
> 
> On Tuesday 24 February 2004 20:19, Clay Leeds wrote:
> <snip/>
> > >>>> 2. Whole site PDF is not working yet, even though I have this
> in my
> > >>>> site.xml file (between the <references> and <external-refs>
> nodes):
> > >>>>
> > >>>>   <all>
> > >>>>     <whole_site_html label="Whole Site HTML"
> href="site.html"/>
> > >>>>     <whole_site_html label="Whole Site PDF" href="site.pdf"/>
> > >>>>   </all>
> > >>>
> > >>> I've tried a few different possibilities (including wrapping
> the
> > >>> "Home"
> > >>> tab items in a <site><home> node), but found that didn't work
> either.
> > >
> > > \>
> > >
> > >> As http://xml.apache.org/forrest/faq.html#PDF-output says, the
> nodes
> > >> must
> > >> be named exactly "all_site" and "all_sitePDF".  Perhaps the FAQ
> needs
> > >> to be clearer about this.
> > >> --
> > >> Dave Brondsema
> > >
> > > I think  I got that portion of the code from the old book.xml
> file.
> > > Thanks! I don't know if it needs to be clearer, although it
> always
> > > helps
> > > if one can merely copy and paste the code from the web page/FAQ.
> > > Perhaps
> > > if it were formatted 'nicely' it would help:
> > >
> > > <all>
> > >   <all_site label="Whole Site HTML" href="site.html"/>
> > >   <all_sitePDF label="Whole Site PDF" href="site.pdf"/>
> > > </all>
> >
> > This still doesn't work for me. I do not see any "Whole Site..."
> links
> > on any of my pages.
> <snip/>
> 
> I refreshed my copy from CVS last night and have re-tried this
> morning and it 
> still doesn't work for me. I have renamed the nodes from
> whole_site_html, 
> which is the original naming from the site.xml in CVS, to all_site
> and 
> all_sitePDF but this had no effect. I also tried removing the <all>
> element 
> and this had no effect either.
> 

I believe that to make the <all> section visible you have to add an
attribute?  I think if you change the above to

<all label="Whole site">
  <all_site label="Whole Site HTML" href="site.html"/>
  <all_sitePDF label="Whole Site PDF" href="site.pdf"/>
</all>

then the option will at least appear in your sidebar.


=====
Paul Smith
Postgraduate Student
Department of Mathematics
School of Engineering, Computer Science,
                            and Mathematics
University of Exeter
(Laver building room C96, Tel X3990)


	
	
		
___________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html

Re: FOP's Forrest-based web site

Posted by Rob Exley <ro...@equifax.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 24 February 2004 20:19, Clay Leeds wrote:
<snip/>
> >>>> 2. Whole site PDF is not working yet, even though I have this in my
> >>>> site.xml file (between the <references> and <external-refs> nodes):
> >>>>
> >>>>   <all>
> >>>>     <whole_site_html label="Whole Site HTML" href="site.html"/>
> >>>>     <whole_site_html label="Whole Site PDF" href="site.pdf"/>
> >>>>   </all>
> >>>
> >>> I've tried a few different possibilities (including wrapping the
> >>> "Home"
> >>> tab items in a <site><home> node), but found that didn't work either.
> >
> > \>
> >
> >> As http://xml.apache.org/forrest/faq.html#PDF-output says, the nodes
> >> must
> >> be named exactly "all_site" and "all_sitePDF".  Perhaps the FAQ needs
> >> to be clearer about this.
> >> --
> >> Dave Brondsema
> >
> > I think  I got that portion of the code from the old book.xml file.
> > Thanks! I don't know if it needs to be clearer, although it always
> > helps
> > if one can merely copy and paste the code from the web page/FAQ.
> > Perhaps
> > if it were formatted 'nicely' it would help:
> >
> > <all>
> >   <all_site label="Whole Site HTML" href="site.html"/>
> >   <all_sitePDF label="Whole Site PDF" href="site.pdf"/>
> > </all>
>
> This still doesn't work for me. I do not see any "Whole Site..." links
> on any of my pages.
<snip/>

I refreshed my copy from CVS last night and have re-tried this morning and it 
still doesn't work for me. I have renamed the nodes from whole_site_html, 
which is the original naming from the site.xml in CVS, to all_site and 
all_sitePDF but this had no effect. I also tried removing the <all> element 
and this had no effect either.

- -- 
Rob Exley <ro...@equifax.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAPJaOIQSbu4H8vOQRAuzaAJ9Q8AgXpNE84ayv7ixHyRuU8CId7QCeOhiS
tUPv2GOjpwWs5qILvDvOCMg=
=SAh6
-----END PGP SIGNATURE-----


Re: FOP's Forrest-based web site

Posted by Clay Leeds <cl...@medata.com>.
On Feb 23, 2004, at 9:13 PM, Clay Leeds wrote:
> Dave Brondsema said:
>> Quoting Clay Leeds <cl...@medata.com>:
>>> On Feb 23, 2004, at 2:17 PM, Clay Leeds wrote:
>>>> Two more problems to debug
>>>>
>>>> 1. breadcrumb looks like this (but doesn't change when I click on
>>>> other pages or sections). What am I missing?
>>>>
>>>>   apache > xml.apache > fop
>>
>> Read my description of how it works at
>> http://issues.apache.org/eyebrowse/ReadMsg?listName=forrest- 
>> dev@xml.apache.org&msgId=1332242
>>
>> Note that it uses javascript to read the current url, so the crumbs  
>> will
>> act differently when the site goes live.
>>
>> I think you would want:
>> <trail>
>>   <link1 name="apache" href="http://www.apache.org/"/>
>>   <link2 name="xml.apache" href="http://xml.apache.org/"/>
>>   <link3 name="" href=""/>
>> </trail>
>
> Thanks!

I've made the change. As expected, now I don't have the "> fop" portion  
of the breadcrumb (nor do I have anything of the other crumbs I'm  
hoping for). Since I'm not loading this from a web server, I guess I  
need to put the new site LIVE before it'll "appear"... (Or at the very  
least, I need to fire up the local WEB SERVER and stick it there so I  
can see the breadcrumb trail in action).

>>>> 2. Whole site PDF is not working yet, even though I have this in my
>>>> site.xml file (between the <references> and <external-refs> nodes):
>>>>
>>>>   <all>
>>>>     <whole_site_html label="Whole Site HTML" href="site.html"/>
>>>>     <whole_site_html label="Whole Site PDF" href="site.pdf"/>
>>>>   </all>
>>>
>>> I've tried a few different possibilities (including wrapping the  
>>> "Home"
>>> tab items in a <site><home> node), but found that didn't work either.
> \>
>> As http://xml.apache.org/forrest/faq.html#PDF-output says, the nodes  
>> must
>> be named exactly "all_site" and "all_sitePDF".  Perhaps the FAQ needs
>> to be clearer about this.
>> --
>> Dave Brondsema
>
> I think  I got that portion of the code from the old book.xml file.
> Thanks! I don't know if it needs to be clearer, although it always  
> helps
> if one can merely copy and paste the code from the web page/FAQ.  
> Perhaps
> if it were formatted 'nicely' it would help:
>
> <all>
>   <all_site label="Whole Site HTML" href="site.html"/>
>   <all_sitePDF label="Whole Site PDF" href="site.pdf"/>
> </all>

This still doesn't work for me. I do not see any "Whole Site..." links  
on any of my pages.

> Now I just need to figure out how to do the portion where the  
> Development
> tab contains links to Design tab pages (see the "resolved" link):
>
>    http://xml.apache.org/fop/dev/index.html
>
> Should I just 'punt' and use a book.xml file in the dev/dir?

I'm thinking seriously about submitting a "[PATCH] breadcrumb.js file"  
so we can fix that ugly breadcrumb problem on the FOP site. That's been  
bugging us for far longer than even the messed up breadcrumb problem on  
the Forrest web site[1], although I notice that it's moved up in  
priority :-).

[1]
http://issues.cocoondev.org/jira/secure/ViewIssue.jspa?key=FOR-117


Re: FOP's Forrest-based web site

Posted by Clay Leeds <cl...@medata.com>.
Dave Brondsema said:
> Quoting Clay Leeds <cl...@medata.com>:
>> On Feb 23, 2004, at 2:17 PM, Clay Leeds wrote:
>> > Two more problems to debug
>> >
>> > 1. breadcrumb looks like this (but doesn't change when I click on
>> > other pages or sections). What am I missing?
>> >
>> >   apache > xml.apache > fop
>
> Read my description of how it works at
> http://issues.apache.org/eyebrowse/ReadMsg?listName=forrest-dev@xml.apache.org&msgId=1332242
>
> Note that it uses javascript to read the current url, so the crumbs will
> act differently when the site goes live.
>
> I think you would want:
> <trail>
>   <link1 name="apache" href="http://www.apache.org/"/>
>   <link2 name="xml.apache" href="http://xml.apache.org/"/>
>   <link3 name="" href=""/>
> </trail>

Thanks!

>> > 2. Whole site PDF is not working yet, even though I have this in my
>> > site.xml file (between the <references> and <external-refs> nodes):
>> >
>> >   <all>
>> >     <whole_site_html label="Whole Site HTML" href="site.html"/>
>> >     <whole_site_html label="Whole Site PDF" href="site.pdf"/>
>> >   </all>
>>
>> I've tried a few different possibilities (including wrapping the "Home"
>> tab items in a <site><home> node), but found that didn't work either.
\>
> As http://xml.apache.org/forrest/faq.html#PDF-output says, the nodes must
> be named exactly "all_site" and "all_sitePDF".  Perhaps the FAQ needs
> to be clearer about this.
> --
> Dave Brondsema

I think  I got that portion of the code from the old book.xml file.
Thanks! I don't know if it needs to be clearer, although it always helps
if one can merely copy and paste the code from the web page/FAQ. Perhaps
if it were formatted 'nicely' it would help:

<all>
  <all_site label="Whole Site HTML" href="site.html"/>
  <all_sitePDF label="Whole Site PDF" href="site.pdf"/>
</all>

Now I just need to figure out how to do the portion where the Development
tab contains links to Design tab pages (see the "resolved" link):

   http://xml.apache.org/fop/dev/index.html

Should I just 'punt' and use a book.xml file in the dev/dir?

Thanks again!

Web Maestro Clay
-- 
Clay Leeds - cleeds@medata.com
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc

Re: FOP's Forrest-based web site

Posted by Dave Brondsema <da...@brondsema.net>.
Quoting Clay Leeds <cl...@medata.com>:

> On Feb 23, 2004, at 2:17 PM, Clay Leeds wrote:
> > Two more problems to debug
> >
> > 1. breadcrumb looks like this (but doesn't change when I click on 
> > other pages or sections). What am I missing?
> >
> >   apache > xml.apache > fop
> 

Read my description of how it works at
http://issues.apache.org/eyebrowse/ReadMsg?listName=forrest-dev@xml.apache.org&msgId=1332242

Note that it uses javascript to read the current url, so the crumbs will act
differently when the site goes live.

I think you would want:
<trail>
  <link1 name="apache" href="http://www.apache.org/"/>
  <link2 name="xml.apache" href="http://xml.apache.org/"/>
  <link3 name="" href=""/>
</trail>

> > 2. Whole site PDF is not working yet, even though I have this in my 
> > site.xml file (between the <references> and <external-refs> nodes):
> >
> >   <all>
> >     <whole_site_html label="Whole Site HTML" href="site.html"/>
> >     <whole_site_html label="Whole Site PDF" href="site.pdf"/>
> >   </all>
> 
> I've tried a few different possibilities (including wrapping the "Home" 
> tab items in a <site><home> node), but found that didn't work either.
> 

As http://xml.apache.org/forrest/faq.html#PDF-output says, the nodes must be
named exactly "all_site" and "all_sitePDF".  Perhaps the FAQ needs to be clearer
about this.


-- 
Dave Brondsema 
dave@brondsema.net 
http://www.brondsema.net - personal 
http://www.splike.com - programming 
http://csx.calvin.edu - student org 

Re: FOP's Forrest-based web site

Posted by Clay Leeds <cl...@medata.com>.
On Feb 23, 2004, at 2:17 PM, Clay Leeds wrote:
> Two more problems to debug
>
> 1. breadcrumb looks like this (but doesn't change when I click on 
> other pages or sections). What am I missing?
>
>   apache > xml.apache > fop

I should point out, since I'm running Mac OS X, that I was unsuccessful 
at getting the breadcrumb to work in these browsers:
- Safari 1.2 (v125 Mac OS X 10.3.2)
- Mozilla 1.6
- Firebird^H^H^H^Hfox 0.8
- Mac Internet Explorer 5.2.3

I don't know if it matters, but since this is a javascript, perhaps the 
problem is with my browser...

> 2. Whole site PDF is not working yet, even though I have this in my 
> site.xml file (between the <references> and <external-refs> nodes):
>
>   <all>
>     <whole_site_html label="Whole Site HTML" href="site.html"/>
>     <whole_site_html label="Whole Site PDF" href="site.pdf"/>
>   </all>

I've tried a few different possibilities (including wrapping the "Home" 
tab items in a <site><home> node), but found that didn't work either.

Web Maestro Clay


Re: FOP's Forrest-based web site

Posted by Clay Leeds <cl...@medata.com>.
On Feb 23, 2004, at 12:02 PM, Dave Brondsema wrote:
> I'm pretty sure you just need to change & to &amp; Since this is an XML
> document, & is used for entity references; &amp; will turn into a 
> literal
> &
>
> Dave Brondsema

That fixed the problem with the problem, but there're still other 
issues to resolve:

> On Mon, 23 Feb 2004, Clay Leeds wrote:
>> BUILD FAILED
>> /Users/Shared/_WebDLs/apache-forrest-0.5.1-bin/forrest.build.xml:631:
>> Java returned: 1
>>
>> Total time: 10 minutes 35 seconds
>> =====
>>
>> I do have a problem with the subsection in the development, which has
>> links to a tab not under dev/ (check the Development tab on the live
>> FOP site to see it in action). Here's the code:
>>
>>    <development label="Development" href="dev/" tab="development">
>> 		<introduction label="Introduction">
>> 			<basics label="Basics" href="index.html"/>
>> 		</introduction>
>>
>> 		<design label="Design" href="design/" tab="design">
>> 			<basics label="Resolved" href="index.html"/>
>> 			<unresolved label="Unresolved (Wiki)"
>> href="http://nagoya.apache.org/wiki/apachewiki.cgi?FOPProjectPages"/>
>> 			<svg label="SVG" href="svg.html"/>
>> 			<fonts label="Fonts" href="fonts.html"/>
>> 			<extensions label="Extensions" href="extensions.html"/>
>> 		</design>
>>
>> I don't know how the Design section should be coded in this case.

I commented out the above <design></design> node and didn't receive a 
BUILD FAILED error. Now I need to figure out how to generate that 
portion. Perhaps I need to use a book.xml in the meantime?

Wait a minute! My BUILD just finished, and it's looking pretty good:

BUILD SUCCESSFUL
Total time: 7 minutes 1 second

Looks like we're getting closer! Also, I'd built it with the book.xml 
file in the dev/ dir, and it built the menu nicely.

Two more problems to debug

1. breadcrumb looks like this (but doesn't change when I click on other 
pages or sections). What am I missing?

   apache > xml.apache > fop

2. Whole site PDF is not working yet, even though I have this in my 
site.xml file (between the <references> and <external-refs> nodes):

   <all>
     <whole_site_html label="Whole Site HTML" href="site.html"/>
     <whole_site_html label="Whole Site PDF" href="site.pdf"/>
   </all>

Web Maestro Clay


Re: FOP's Forrest-based web site

Posted by Dave Brondsema <da...@brondsema.net>.
I'm pretty sure you just need to change & to &amp; Since this is an XML
document, & is used for entity references; &amp; will turn into a literal
&

Dave Brondsema

On Mon, 23 Feb 2004, Clay Leeds wrote:

> Uh oh... I got some BUILD FAILED msgs... (I apologize for the long
> msg!).
>
> X [0]                       index.html  BROKEN: The reference to entity
> "bug_status" must end with the ';' delimiter.
> * [0]   0.713s 766b    favicon.ico
> Total time: 0 minutes 28 seconds
>
> BUILD FAILED
> /Users/Shared/_WebDLs/apache-forrest-0.5.1-bin/forrest.build.xml:631:
> Java returned: 1
>
> Total time: 1 minute 16 seconds
> ==============================
>
> I looked in my site.xml file, and the only instances of "bug_status"
> occurred in these lines:
>
> line 66:
> 	    <patch label="Patch Queue"
> href="http://nagoya.apache.org/bugzilla/buglist.cgi?
> bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype
> 1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreport
> er2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto
> =Now&chfieldvalue=&product=Fop&short_desc=%5BPATCH%5D&short_desc_type=al
> lwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_
> file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0
> -0=noop&type0-0-0=noop&value0-0
> -0=&namedcmd=Fop+all&newqueryname=fop+patch+queue&tofooter=1&order=Reuse
> +same+sort+as+last+time"/>
>
> Line 77:
> 	    <bugs label="Bugs"
> href="http://nagoya.apache.org/bugzilla/buglist.cgi?
> bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype
> 1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreport
> er2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto
> =Now&chfieldvalue=&product=Fop&short_desc=&short_desc_type=allwordssubst
> r&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_ty
> pe=allwordssubstr&keywords=&keywords_type=anywords&field0-0
> -0=noop&type0-0-0=noop&value0-0-0=&order=bugs.component"/>
> ========
>
> I commented out those lines and the BUILD did not fail (at least not at
> the same place), but what if I need those links? BTW, I notice that
> those links each contain multiple parameters called "bug_status" which
> is strange... I just copied those from the current web page. Perhaps I
> need to grab those values from the actual book.xml file or something...
>
> Any ideas?
>
> After commenting out the above lines, I got a different BUILD FAILED
> error:
>
> BUILD FAILED
> /Users/Shared/_WebDLs/apache-forrest-0.5.1-bin/forrest.build.xml:631:
> Java returned: 1
>
> Total time: 7 minutes 12 seconds
> =====
>
> (no particularly useful info above those line, though!)
>
> I did notice a few BROKEN items, related to problems with altdesign. I
> fixed the problem with altdesign and re-ran forrest, but got another
> BUILD FAILED:
>
> Total time: 9 minutes 46 seconds
>
> BUILD FAILED
> /Users/Shared/_WebDLs/apache-forrest-0.5.1-bin/forrest.build.xml:631:
> Java returned: 1
>
> Total time: 10 minutes 35 seconds
> =====
>
> I do have a problem with the subsection in the development, which has
> links to a tab not under dev/ (check the Development tab on the live
> FOP site to see it in action). Here's the code:
>
>    <development label="Development" href="dev/" tab="development">
> 		<introduction label="Introduction">
> 			<basics label="Basics" href="index.html"/>
> 		</introduction>
>
> 		<design label="Design" href="design/" tab="design">
> 			<basics label="Resolved" href="index.html"/>
> 			<unresolved label="Unresolved (Wiki)"
> href="http://nagoya.apache.org/wiki/apachewiki.cgi?FOPProjectPages"/>
> 			<svg label="SVG" href="svg.html"/>
> 			<fonts label="Fonts" href="fonts.html"/>
> 			<extensions label="Extensions" href="extensions.html"/>
> 		</design>
>
> I don't know how the Design section should be coded in this case.
>
> Web Maestro Clay
>
> p.s. Should I send my site.xml file (or anything else)?
>

-- 
Dave Brondsema
dave@brondsema.net
http://www.brondsema.net - personal
http://www.splike.com - programming
http://csx.calvin.edu - Calvin club

Re: FOP's Forrest-based web site

Posted by Clay Leeds <cl...@medata.com>.
Uh oh... I got some BUILD FAILED msgs... (I apologize for the long  
msg!).

X [0]                       index.html  BROKEN: The reference to entity  
"bug_status" must end with the ';' delimiter.
* [0]   0.713s 766b    favicon.ico
Total time: 0 minutes 28 seconds

BUILD FAILED
/Users/Shared/_WebDLs/apache-forrest-0.5.1-bin/forrest.build.xml:631:  
Java returned: 1

Total time: 1 minute 16 seconds
==============================

I looked in my site.xml file, and the only instances of "bug_status"  
occurred in these lines:

line 66:
	    <patch label="Patch Queue"  
href="http://nagoya.apache.org/bugzilla/buglist.cgi? 
bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype 
1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreport 
er2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto 
=Now&chfieldvalue=&product=Fop&short_desc=%5BPATCH%5D&short_desc_type=al 
lwordssubstr&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_ 
file_loc_type=allwordssubstr&keywords=&keywords_type=anywords&field0-0 
-0=noop&type0-0-0=noop&value0-0 
-0=&namedcmd=Fop+all&newqueryname=fop+patch+queue&tofooter=1&order=Reuse 
+same+sort+as+last+time"/>

Line 77:
	    <bugs label="Bugs"  
href="http://nagoya.apache.org/bugzilla/buglist.cgi? 
bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype 
1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreport 
er2=1&bugidtype=include&bug_id=&changedin=&votes=&chfieldfrom=&chfieldto 
=Now&chfieldvalue=&product=Fop&short_desc=&short_desc_type=allwordssubst 
r&long_desc=&long_desc_type=allwordssubstr&bug_file_loc=&bug_file_loc_ty 
pe=allwordssubstr&keywords=&keywords_type=anywords&field0-0 
-0=noop&type0-0-0=noop&value0-0-0=&order=bugs.component"/>
========

I commented out those lines and the BUILD did not fail (at least not at  
the same place), but what if I need those links? BTW, I notice that  
those links each contain multiple parameters called "bug_status" which  
is strange... I just copied those from the current web page. Perhaps I  
need to grab those values from the actual book.xml file or something...

Any ideas?

After commenting out the above lines, I got a different BUILD FAILED  
error:

BUILD FAILED
/Users/Shared/_WebDLs/apache-forrest-0.5.1-bin/forrest.build.xml:631:  
Java returned: 1

Total time: 7 minutes 12 seconds
=====

(no particularly useful info above those line, though!)

I did notice a few BROKEN items, related to problems with altdesign. I  
fixed the problem with altdesign and re-ran forrest, but got another  
BUILD FAILED:

Total time: 9 minutes 46 seconds

BUILD FAILED
/Users/Shared/_WebDLs/apache-forrest-0.5.1-bin/forrest.build.xml:631:  
Java returned: 1

Total time: 10 minutes 35 seconds
=====

I do have a problem with the subsection in the development, which has  
links to a tab not under dev/ (check the Development tab on the live  
FOP site to see it in action). Here's the code:

   <development label="Development" href="dev/" tab="development">
		<introduction label="Introduction">
			<basics label="Basics" href="index.html"/>
		</introduction>
	
		<design label="Design" href="design/" tab="design">
			<basics label="Resolved" href="index.html"/>
			<unresolved label="Unresolved (Wiki)"  
href="http://nagoya.apache.org/wiki/apachewiki.cgi?FOPProjectPages"/>
			<svg label="SVG" href="svg.html"/>
			<fonts label="Fonts" href="fonts.html"/>
			<extensions label="Extensions" href="extensions.html"/>
		</design>

I don't know how the Design section should be coded in this case.

Web Maestro Clay

p.s. Should I send my site.xml file (or anything else)?
-- 
Clay Leeds - cleeds@medata.com
Web Developer - Medata, Inc. - <http://www.medata.com/>
PGP Public Key: <https://mail.medata.com/pgp/cleeds.asc>


Re: FOP's Forrest-based web site

Posted by Clay Leeds <cl...@medata.com>.
On Feb 23, 2004, at 11:00 AM, Moshe Yudkowsky wrote:
>>> Actually, I'm moving away from 'book.xml' in favor of 'site.xml' 
>>> which I assume (correctly?) is the preferred method. My hope is that 
>>> by switching to 'site.xml' now, updates to future forrest versions 
>>> will be easier. It seems to me (correctly?) that book.xml is being 
>>> (for lack of a better term) deprecated in favor of site.xml, hence 
>>> my switch. Else, why is the book.xml system considered an 
>>> 'alternative' method for tabs?
>
> Wiser and more experienced people should chime in on this, but I've 
> found that "book.xml" is very useful in certain situations; for 
> example, when I want to have the user in a cul-de-sac in the menu and 
> not distracted by other options under that same menu.
>
> Example:
>
> * Topic
>   Item1
>   Item2
>   Item3
>
> Although "topic" is a subdir of "foo", I don't want "foo" and its 
> relatives to appear. book.xml makes this possible; if there's another 
> way I've yet  to find it.

Thanks for the tidbit! That is one piece of information that would 
certainly be useful to add to the Forrest linking page (where it says 
people should stay away from 'book.xml'):

   http://xml.apache.org/forrest/linking.html

or... maybe I should put my money where my mouth is, and submit a 
PATCH! Sorry I don't know how to submit one using your system...

Web Maestro Clay


Re: FOP's Forrest-based web site

Posted by Moshe Yudkowsky <ms...@bl.com>.
>> Actually, I'm moving away from 'book.xml' in favor of 'site.xml' which 
>> I assume (correctly?) is the preferred method. My hope is that by 
>> switching to 'site.xml' now, updates to future forrest versions will 
>> be easier. It seems to me (correctly?) that book.xml is being (for 
>> lack of a better term) deprecated in favor of site.xml, hence my 
>> switch. Else, why is the book.xml system considered an 'alternative' 
>> method for tabs?

Wiser and more experienced people should chime in on this, but I've found that 
"book.xml" is very useful in certain situations; for example, when I want to 
have the user in a cul-de-sac in the menu and not distracted by other options 
under that same menu.

Example:

* Topic
   Item1
   Item2
   Item3

Although "topic" is a subdir of "foo", I don't want "foo" and its relatives to 
appear. book.xml makes this possible; if there's another way I've yet  to find it.

-- 
  Moshe Yudkowsky
  Disaggregate
  2952 W Fargo
  Chicago, IL 60645 USA

  <http://www.Disaggregate.com>

Re: FOP's Forrest-based web site

Posted by Clay Leeds <cl...@medata.com>.
BTW, I notice that there's a book.xmlk file in each directory (dev/, 
design/, altdesign/, etc.). Do I need a site.xml in those since I'm 
"ridding" the site of book.xml files? (Also, I noticed this at the end 
of the link you previously sent:

http://xml.apache.org/forrest/linking.html#other-menu-selection

   In general, however, we  recommend that users avoid book.xml.

(which I take as further confirmation that my eradication of book.xml 
is appropriate)

Thanks!

On Feb 23, 2004, at 8:22 AM, Clay Leeds wrote:
> On Feb 23, 2004, at 7:36 AM, David Crossley wrote:
>>> Thanks... No... I haven't tried that yet. I sent that message
>>> immediately after getting a 'successful' build with a proper
>>> breadcrumb. I'm aware of the PDF FAQ, and was waiting to follow the
>>> directions for that and the tab selection before asking for help! :-)
>>> Also, it's news to me, that book.xml takes precedence over 
>>> site.xml...
>>
>> http://xml.apache.org/forrest/linking.html#other-menu-selection
>> See sub-section "Specifying menus with book.xml".
>
> Actually, I'm moving away from 'book.xml' in favor of 'site.xml' which 
> I assume (correctly?) is the preferred method. My hope is that by 
> switching to 'site.xml' now, updates to future forrest versions will 
> be easier. It seems to me (correctly?) that book.xml is being (for 
> lack of a better term) deprecated in favor of site.xml, hence my 
> switch. Else, why is the book.xml system considered an 'alternative' 
> method for tabs?
>
> Just the same, thanks for this link, too! It seems that the passage 
> above this anchor (Selecting menu entries) is where I need to look to 
> get the tabs working using the new site.xml file I created...
>
> Web Maestro Clay
>


Re: FOP's Forrest-based web site

Posted by Clay Leeds <cl...@medata.com>.
On Feb 23, 2004, at 7:36 AM, David Crossley wrote:
>> Thanks... No... I haven't tried that yet. I sent that message
>> immediately after getting a 'successful' build with a proper
>> breadcrumb. I'm aware of the PDF FAQ, and was waiting to follow the
>> directions for that and the tab selection before asking for help! :-)
>> Also, it's news to me, that book.xml takes precedence over site.xml...
>
> http://xml.apache.org/forrest/linking.html#other-menu-selection
> See sub-section "Specifying menus with book.xml".

Actually, I'm moving away from 'book.xml' in favor of 'site.xml' which 
I assume (correctly?) is the preferred method. My hope is that by 
switching to 'site.xml' now, updates to future forrest versions will be 
easier. It seems to me (correctly?) that book.xml is being (for lack of 
a better term) deprecated in favor of site.xml, hence my switch. Else, 
why is the book.xml system considered an 'alternative' method for tabs?

Just the same, thanks for this link, too! It seems that the passage 
above this anchor (Selecting menu entries) is where I need to look to 
get the tabs working using the new site.xml file I created...

Web Maestro Clay


Re: FOP's Forrest-based web site

Posted by David Crossley <cr...@apache.org>.
Clay Leeds wrote:
> Dave Brondsema wrote:
> > Have you tried this: http://xml.apache.org/forrest/faq.html#PDF-output
> >
> > If so, and you're still having problems, make sure any old book.xml 
> > files are
> > gone (I think they take precedence over a site.xml, if they exist).
> >
> > -- 
> > Dave Brondsema
> 
> Thanks... No... I haven't tried that yet. I sent that message 
> immediately after getting a 'successful' build with a proper 
> breadcrumb. I'm aware of the PDF FAQ, and was waiting to follow the 
> directions for that and the tab selection before asking for help! :-) 
> Also, it's news to me, that book.xml takes precedence over site.xml... 

http://xml.apache.org/forrest/linking.html#other-menu-selection
See sub-section "Specifying menus with book.xml".

--David

> It could explain a few other things, most notable, why capitalization 
> changes I made to the navigation tree labels didn't take. I kind of 
> expected that, though... Thanks for the help (and the link)!
> 
> Web Maestro Clay


Re: FOP's Forrest-based web site

Posted by Clay Leeds <cl...@medata.com>.
On Feb 22, 2004, at 9:44 PM, Dave Brondsema wrote:
> Have you tried this: http://xml.apache.org/forrest/faq.html#PDF-output
>
> If so, and you're still having problems, make sure any old book.xml 
> files are
> gone (I think they take precedence over a site.xml, if they exist).
>
> -- 
> Dave Brondsema

Thanks... No... I haven't tried that yet. I sent that message 
immediately after getting a 'successful' build with a proper 
breadcrumb. I'm aware of the PDF FAQ, and was waiting to follow the 
directions for that and the tab selection before asking for help! :-) 
Also, it's news to me, that book.xml takes precedence over site.xml... 
It could explain a few other things, most notable, why capitalization 
changes I made to the navigation tree labels didn't take. I kind of 
expected that, though... Thanks for the help (and the link)!

Web Maestro Clay


Re: FOP's Forrest-based web site

Posted by Dave Brondsema <da...@brondsema.net>.
Quoting Clay Leeds <cl...@medata.com>:

> Ross,
> 
> Thanks for your help! I've successfully built the FOP site on my box 
> using forrest-0.5.1 (including a 'nice-looking' breadcrumb trail). I've 
> got a couple of issues to resolve, but I think I'll plug away at it a 
> bit longer before I ask for more help. Among other things, I'm 
> attempting to move to site.xml from book.xml (no sense "learning" how 
> to use book.xml, when I can move to site.xml, which appears to be the 
> future). I believe the "successful" build was from my new 'site.xml' 
> file... The issues I'm currently working on, are the Whole Site PDF 
> generation & automatic tab "selection" (highlighting of the 'active' 
> tab). If I were to ask for help, what pieces would you need? Would you 
> want me to include any files (site.xml, book.xml, skinconf,xml, 
> sitemap.xmap, sitemap-0.5.xmap, etc.)?
> 
> Thanks again for your quick responses!
> 
> Web Maestro Clay
> 

Have you tried this: http://xml.apache.org/forrest/faq.html#PDF-output

If so, and you're still having problems, make sure any old book.xml files are
gone (I think they take precedence over a site.xml, if they exist).


-- 
Dave Brondsema 
dave@brondsema.net 
http://www.brondsema.net - personal 
http://www.splike.com - programming 
http://csx.calvin.edu - student org