You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@gump.apache.org by "Adam R. B. Jack" <aj...@trysybase.com> on 2004/02/29 20:01:01 UTC

Gump TLP Site

I've hacked the site config, and produced a non-Jakarta site for review. I
know there are issues, so please reply to this mail when you notice them
[fixing whatever you can in CVS in src/documentation]. I'll batch up a few
up and create/upload docs again as needed. The files are all group 'gump' in
/www/gump.apache.org, so theoretically anybody in group gump with forrest
can do this.

    http://gump.apache.org

A few I know of:

1) I didn't have a blue background Apache logo, so I removed Jakarta w/o
adding Apache. I'll need help here.
2) I know 'get involved' and 'mailing lists' will take a bit of work to fix,
since we'll need to work with other sites also (I assume, i.e. to add gump
as a TLP to them.)

regards,

Adam
--
Experience the Unwired Enterprise:
http://www.sybase.com/unwiredenterprise
Try Sybase: http://www.try.sybase.com


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: skinconf validation

Posted by Dave Brondsema <da...@brondsema.net>.
Quoting Juan Jose Pablos <ch...@che-che.com>:

> Dave Brondsema wrote:
> > 
> > If I can get the <xmlproperty> task to work with an <xmlcatalog>, I'm
> planning
> > on removing the relaxng validation (no advantages) and use just an external
> DTD.
> > 
> 
> hold on here. I thought that relaxng is a requierement for the use of 
> xhtml as intermediate format.
> 
> If we only use the jing task to validate, why do we need all DTD 
> information?
> 

<snip src="http://www.w3.org/TR/xhtml2/">
This version includes an early implementation of XHTML 2.0 in RELAX NG
[RELAXNG], but does not include the implementations in DTD or XML Schema form.
Those will be included in subsequent versions, once the content of this language
stabilizes.
</snip>

DTDs are needed because DOCTYPE identifiers reference DTDs (not relaxng or
schema).  DTDs are also the lowest common denominator and often the only
validation supported by editors.  Apparently relaxng authors don't like the idea
of a DOCTYPE identifier at all.
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=forrest-dev@xml.apache.org&msgId=1372452

However the current issue is for skinconf, not source documents.  So we can use
just a DTD for the skinconf and then use relaxng for xhtml2 when we move to it.



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

Re: skinconf validation

Posted by Juan Jose Pablos <ch...@che-che.com>.
Dave Brondsema wrote:
> 
> If I can get the <xmlproperty> task to work with an <xmlcatalog>, I'm planning
> on removing the relaxng validation (no advantages) and use just an external DTD.
> 

hold on here. I thought that relaxng is a requierement for the use of 
xhtml as intermediate format.

If we only use the jing task to validate, why do we need all DTD 
information?

Cheers,
Cheche



Re: Forrest and batik SVG generation problem

Posted by Juan Jose Pablos <ch...@che-che.com>.
superbonbon@bluemail.ch wrote:
>>>So here is the question : Is there any plans to migrate to the
>>>latest and greatest of batik (1.5.1) for by example forrest 0.6
>>>to fix those nasty bugs ?
>>>
>>
>>I am happy to move when Batik gets a new release.
> 
> 
> so batik 1.5.1 is in the pipeline for forrest 0.6 ?

The problem raises because our dependency seems to be FOP that uses batik.
I have just test batik 1.5.1 and that worked for me, so If anyone has 
not got any objection, I can upgrade forrest to use batik 1.5.1


Cheers
Cheche


Re: Forrest and batik SVG generation problem

Posted by su...@bluemail.ch.
>superbonbon@bluemail.ch wrote:
>> I know that such issues are related to batik and not forrest that
>> seems to ship batik 1.5b4. The -Djava.awt.headless=true issue with batik
>> seems to have been fixed with 1.5b5 release :
>
>I am not aware of any 1.5b5 release.

Sorry that was only a CVS tag

>> So here is the question : Is there any plans to migrate to the
>> latest and greatest of batik (1.5.1) for by example forrest 0.6
>> to fix those nasty bugs ?
>> 
>
>I am happy to move when Batik gets a new release.

so batik 1.5.1 is in the pipeline for forrest 0.6 ?

Regards
SuperBonBon


Re: Forrest and batik SVG generation problem

Posted by Juan Jose Pablos <ch...@che-che.com>.
superbonbon@bluemail.ch wrote:
> I know that such issues are related to batik and not forrest that
> seems to ship batik 1.5b4. The -Djava.awt.headless=true issue with batik
> seems to have been fixed with 1.5b5 release :

I am not aware of any 1.5b5 release.

> So here is the question : Is there any plans to migrate to the
> latest and greatest of batik (1.5.1) for by example forrest 0.6
> to fix those nasty bugs ?
> 

I am happy to move when Batik gets a new release.

Cheers,
Cheche


Forrest and batik SVG generation problem

Posted by su...@bluemail.ch.
Hi,

I'm currently using forrest 0.5 and I have some troubles
to generate SVG to JPEG's

My SVG is including a background image :

<image xlink:href="file://..." />

No problems to generate the SVG to JPEG or PNG with sun jdk
1.4.1 this is just working fine and no complaints so far.

first issue : when I switch to sun jdk 1.4.2, the background images is not
generated anymore, the is a blank image as background

second issue : when I set the -Djava.awt.headless=true to true forrest just
crash :

     [java] * [0]   1.016s 0b      images/btn_About_on_svg.jpeg
     [java] java.lang.ExceptionInInitializerError
     [java]     at org.apache.batik.ext.awt.image.spi.ImageTagRegistry.getRegist
ry(ImageTagRegistry.java:273)
     [java]     at org.apache.batik.bridge.SVGImageElementBridge.createRasterIma
geNode(SVGImageElementBridge.java:280)

I know that such issues are related to batik and not forrest that
seems to ship batik 1.5b4. The -Djava.awt.headless=true issue with batik
seems to have been fixed with 1.5b5 release :
http://cvs.apache.org/viewcvs.cgi/xml-batik/sources/org/apache/batik/ext/awt/image/spi/JDKRegistryEntry.java
see comments of revision 1.6 of the file.
I presume also that the latest version of batik fix the blank image
issue with jdk 1.4.2

So here is the question : Is there any plans to migrate to the
latest and greatest of batik (1.5.1) for by example forrest 0.6
to fix those nasty bugs ?

Thanks for your great work

Regards

SuperBonBon


Re: skinconf validation (was: Gump TLP Site)

Posted by Dave Brondsema <da...@brondsema.net>.
Quoting Juan Jose Pablos <ch...@che-che.com>:
> 
> > What I really don't get is if the validation schema is embedded in the XML
> > document, how updates to forrest keep making this fail. I have to assume
> > that a validation is occurring against a separate forrest file. Could I be
> > pointed to that please?
> 
> you are right, we should remove that one day. :-)
> 

There is also a relaxng schema in context/resources/schema/relaxng/skinconf.rnc
 Currently forrest validates the skinconf.xml against this schema.

I started working on moving the DTD out of the skinconf files but had some problems:
http://nagoya.apache.org/eyebrowse/ReadMsg?listName=forrest-dev@xml.apache.org&msgId=1372385

If I can get the <xmlproperty> task to work with an <xmlcatalog>, I'm planning
on removing the relaxng validation (no advantages) and use just an external DTD.

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

Re: Gump TLP Site

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> Please apply this patch
> [...]
> The toc element had a missing location attribute. Level 2 is the default
> value, so removing complety should do the trick.

Thanks, that did it. I'll commit it to Gump CVS the moment a CVS checkout
stops monopolizing my Eclipse & modem.

Thanks for your help.

regards

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Gump TLP Site

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> Please apply this patch
> [...]
> The toc element had a missing location attribute. Level 2 is the default
> value, so removing complety should do the trick.

Thanks, that did it. I'll commit it to Gump CVS the moment a CVS checkout
stops monopolizing my Eclipse & modem.

Thanks for your help.

regards

Adam


Re: Gump TLP Site

Posted by Juan Jose Pablos <ch...@che-che.com>.
Adam,

Please apply this patch

> Can the Forrest folk help us with why this is failing?

The toc element had a missing location attribute. Level 2 is the default 
value, so removing complety should do the trick.


> What I really don't get is if the validation schema is embedded in the XML
> document, how updates to forrest keep making this fail. I have to assume
> that a validation is occurring against a separate forrest file. Could I be
> pointed to that please?

you are right, we should remove that one day. :-)

Cheers,
Cheche

Re: Gump TLP Site

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> > So, your forrest (likely a week later of CVS HEAD than mine)

I just updated mine from CVS HEAD. Guess what, busted again, I get the same
results as you...

Can the Forrest folk help us with why this is failing? I assume that not
getting useful error messages from RelaxNG is not in Forrest control, but
maybe humans can eyeball (based of tweaks over the last week) and explain
problems. Here is the skinconf as it currently stands:

    http://cvs.apache.org/viewcvs.cgi/gump/src/documentation/skinconf.xml

What I really don't get is if the validation schema is embedded in the XML
document, how updates to forrest keep making this fail. I have to assume
that a validation is occurring against a separate forrest file. Could I be
pointed to that please?

regards,

Adam


Re: Gump TLP Site

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> > So, your forrest (likely a week later of CVS HEAD than mine)

I just updated mine from CVS HEAD. Guess what, busted again, I get the same
results as you...

Can the Forrest folk help us with why this is failing? I assume that not
getting useful error messages from RelaxNG is not in Forrest control, but
maybe humans can eyeball (based of tweaks over the last week) and explain
problems. Here is the skinconf as it currently stands:

    http://cvs.apache.org/viewcvs.cgi/gump/src/documentation/skinconf.xml

What I really don't get is if the validation schema is embedded in the XML
document, how updates to forrest keep making this fail. I have to assume
that a validation is occurring against a separate forrest file. Could I be
pointed to that please?

regards,

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Gump TLP Site

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 2 Mar 2004, Adam R. B. Jack <aj...@trysybase.com> wrote:

> So, your forrest (likely a week later of CVS HEAD than mine)

About five hours old.

Buildfile: /home/bodewig/dev/xml-forrest/build/dist/shbat/bin/../forrest.build.xml

    *=======================================================*
    |                 Forrest Site Builder                  |
    |                        0.6-dev                        |
    |             $Date: 2004/02/14 12:26:18 $              |
    *=======================================================*
  
Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Gump TLP Site

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 2 Mar 2004, Adam R. B. Jack <aj...@trysybase.com> wrote:

> So, your forrest (likely a week later of CVS HEAD than mine)

About five hours old.

Buildfile: /home/bodewig/dev/xml-forrest/build/dist/shbat/bin/../forrest.build.xml

    *=======================================================*
    |                 Forrest Site Builder                  |
    |                        0.6-dev                        |
    |             $Date: 2004/02/14 12:26:18 $              |
    *=======================================================*
  
Stefan

Re: Gump TLP Site

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> validate-skinconf:
> /home/bodewig/gump/src/documentation/skinconf.xml:131:19: error: required
attributes missing
>
> BUILD FAILED
> /home/bodewig/dev/xml-forrest/build/dist/shbat/targets/validate.xml:145:
Validation failed, messages should have been provided.

Gak! I struggled with this for two weeks, with RelaxNG (used inside forrest
to verify that XML against it's embedded scheme) not giving any useful error
messages. I reported it to the forrest team, but eventually found a 'fix' by
copying their skinconf and merging in Gump information.

Why this is now coming up again might be because I reported it, and folks
tinkered with things, but I am kinda flabergasted. [From what I saw they
just made more things optional.]

So, your forrest (likely a week later of CVS HEAD than mine) now fails, and
mine doesn't. I really can't get my head around that. Can the forrest guys
help?

FWIIW: I have this, what do you have Stefan?

F:\data\OSS\gump>forrest -projecthelp

Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile: F:\data\OSS\forrest\forrest.build.xml

    *=======================================================*
    |                 Forrest Site Builder                  |
    |                        0.6-dev                        |
    |             $Date: 2004/02/14 12:26:18 $              |
    *=======================================================*

regards,

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Gump TLP Site

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> validate-skinconf:
> /home/bodewig/gump/src/documentation/skinconf.xml:131:19: error: required
attributes missing
>
> BUILD FAILED
> /home/bodewig/dev/xml-forrest/build/dist/shbat/targets/validate.xml:145:
Validation failed, messages should have been provided.

Gak! I struggled with this for two weeks, with RelaxNG (used inside forrest
to verify that XML against it's embedded scheme) not giving any useful error
messages. I reported it to the forrest team, but eventually found a 'fix' by
copying their skinconf and merging in Gump information.

Why this is now coming up again might be because I reported it, and folks
tinkered with things, but I am kinda flabergasted. [From what I saw they
just made more things optional.]

So, your forrest (likely a week later of CVS HEAD than mine) now fails, and
mine doesn't. I really can't get my head around that. Can the forrest guys
help?

FWIIW: I have this, what do you have Stefan?

F:\data\OSS\gump>forrest -projecthelp

Apache Forrest.  Run 'forrest -projecthelp' to list options

Buildfile: F:\data\OSS\forrest\forrest.build.xml

    *=======================================================*
    |                 Forrest Site Builder                  |
    |                        0.6-dev                        |
    |             $Date: 2004/02/14 12:26:18 $              |
    *=======================================================*

regards,

Adam


Re: Gump TLP Site

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 1 Mar 2004, Adam R. B. Jack <aj...@trysybase.com> wrote:

> Having Nicola on our team we benefit from a lot of the nice extras
> (like cool SVGs) but it often demands we have CVS HEAD of
> forrest. Please try CVS HEAD.

Sure, here are the snipped results:

...

      | The following properties could be removed from future builds:
      | //which skin to apply
      | project.skin        = forrest-site 
      | //where your documentation xml is
      | project.content-dir = /home/bodewig/gump/src/documentation 

...

validate-skinconf:
/home/bodewig/gump/src/documentation/skinconf.xml:131:19: error: required attributes missing

BUILD FAILED
/home/bodewig/dev/xml-forrest/build/dist/shbat/targets/validate.xml:145: Validation failed, messages should have been provided.

Cheers

        Stefan
-- 
http://stefanbodewig.blogger.de/

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Gump TLP Site

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> Is this an expected failure?  Ought I use a more recent version of
> Forrest?

Having Nicola on our team we benefit from a lot of the nice extras (like
cool SVGs) but it often demands we have CVS HEAD of forrest. Please try CVS
HEAD.

regards

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Gump TLP Site

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 1 Mar 2004, Adam R. B. Jack <aj...@trysybase.com> wrote:

> Anybody interested in helping out w/ the Gump site?

Sure.

I just installed Forrest 0.5.1 and get an error:

X [0]                       images/gump-logo.png	BROKEN: /home/bodewig/ASF/gump/gump/build/tmp/context/resources/images/gump-logo.png (No such file or directory)

which I assume is responsible for 

BUILD FAILED
/home/bodewig/apache-forrest-0.5.1-bin/forrest.build.xml:631: Java returned: 1

as there is no other error message.

Is this an expected failure?  Ought I use a more recent version of
Forrest?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Gump TLP Site

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> Yes, sure.  All when we are ready.  Are we?

Nope. Ought we give it at least a week? No point in hurrying our coming out.
;-) We might wish to update the content/front page to better represent where
we wish to take Gump as a TLP. We might wish to add a reference to a logo
competition.

> Take a look at <http://ant.apache.org/mail.html> and
> <http://ant.apache.org/cvs.html> for very simple pages that we can
> use.  Do we want something more fancy?

I did :-) I realized the Ant community had done this recently, so I figured
we'd just stand on their shoulders.

Anybody interested in helping out w/ the Gump site? The xdoc format is very
simple, the message and the content is harder.

regards,

Adam


---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Gump TLP Site

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 1 Mar 2004, Adam R. B. Jack <aj...@trysybase.com> wrote:
>> What changes in other sites would we need?
> 
> I was thinking the left side of here, but this has been done, it
> seems -- although the URL needs to be updated sometime.

Will do, once we feel the gump.apache.org is ready for prime time.
I'd also insert a little redirect to make jakarta.apache.org/gump/ go
to the TLP site.

>     http://www.apache.org
> 
> Hmm, ought we be added to 'latest news'?

Not sure who decides which projects are the "featured" project.  It is
supposed to rotate on a regular schedule, but the details have escaped
me.

> I guess similar stuff needs to be done http://jakarta.apache.org
> [left bar, perhaps move us to 'related'], with (to a quick view)
> http://jakarta.apache.org/site/cvsindex.html,
> http://jakarta.apache.org/site/mail2.html,

Yes, sure.  All when we are ready.  Are we?

Take a look at <http://ant.apache.org/mail.html> and
<http://ant.apache.org/cvs.html> for very simple pages that we can
use.  Do we want something more fancy?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Gump TLP Site

Posted by "Adam R. B. Jack" <aj...@trysybase.com>.
> What changes in other sites would we need?  I have karma for jakarta
> as well as www if you know of things that need to get fixed.

I was thinking the left side of here, but this has been done, it seems -- 
although the URL needs to be updated sometime.

    http://www.apache.org

Hmm, ought we be added to 'latest news'?

Also, here: http://www.apache.org/foundation/mailinglists.html (once we get
a mail page).

I guess similar stuff needs to be done http://jakarta.apache.org [left bar,
perhaps move us to 'related'], with (to a quick view)
http://jakarta.apache.org/site/cvsindex.html,
http://jakarta.apache.org/site/mail2.html,

I don't know everywhere, I'm no expert on what is where, these are just a
few things that came to eye quickly. I suspect a google search over
jakarta.apache.org would find a few more.

regards,

Adam,





---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org


Re: Gump TLP Site

Posted by Stefan Bodewig <bo...@apache.org>.
On Sun, 29 Feb 2004, Adam R. B. Jack <aj...@trysybase.com> wrote:

> 2) I know 'get involved' and 'mailing lists' will take a bit of work
> to fix, since we'll need to work with other sites also (I assume,
> i.e. to add gump as a TLP to them.)

I'd suggest to make mini "mailing-list" and "CVS module" pages of our
own and link to incubator or wherever the current plan assembles the
more general "getting involved" stuff.

What changes in other sites would we need?  I have karma for jakarta
as well as www if you know of things that need to get fixed.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@gump.apache.org
For additional commands, e-mail: general-help@gump.apache.org