Re: master-reference '' for fo:page-sequence matches no simple-page-master or page-sequence-master

2005-03-10 Thread Simon Pepping
Glen,

On Wed, Mar 09, 2005 at 11:34:29AM -0800, Glen Mazza wrote:
 The property on fo:conditional-page-master-reference
 should be master-reference, not master-name [1].

I had this problem too the other day. Can you not throw some
validation towards detecting a missing master-reference attribute? The
idea that FOP goes searching for an empty master-reference name is not
quite satisfactory.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: hyphenation in single syllable language?

2004-11-11 Thread Simon Pepping
On Thu, Nov 11, 2004 at 05:13:37PM +0100, Andreas L. Delmelle wrote:
  From: Hoang Tuan Nguy?n D?ng [mailto:[EMAIL PROTECTED]
 
 
 Hi,
 
 snip /
  i've try your suggest but there is no change :(.
  fist at all, i've change my locale in docbook source from 'vi' to
  'en', the hyphenation is work well, my word isn't split !
 
  But when i try to copy en.xml to vi.xml and define hyphenation-dir in
  userconfig.xml; when fop-ing, there is no error messages about
  building hyphenation tree for language vi; but the word is split in
  PDF document 
 
 I'm a bit confused here... So, you are 'copying' the XML containing the
 English hyphenation patterns to a new file 'vi.xml'? :-/
 As I see it, this will have exactly the effect I described as 'using English
 hyph patterns for Vietnamese text'. Unless the 'vi.xml' is made to contain
 information specifically about hyphenation in Vietnamese, it's always going
 to lead to undesired results.
 
 
  When i add those lines:
  xsl:attribute-set name='hypenateText'
 xsl:attribute name='hyphenate'false/xsl:attribute
 xsl:attribute name='language'vi/xsl:attribute
  /xsl:attribute-set
  in my xsl stylesheet ang generate fo file with this; nothing change!!
 
If you would have no file vi.xml and declare the language of the
vietnamese text parts to be 'vi', those parts should not be
hyphenated.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Project offo distributes hyphenation pattern files for FOP

2004-09-11 Thread Simon Pepping
Dear FOP users,

In February 2004 a large number of hyphenation pattern files were
removed from FOP's CVS repository due to licensing issues. These
hyphenation patterns were contributed to FOP under licenses which
allowed their free distribution, but under conditions which were felt
to be in contradiction with the Apache license, under which FOP is
distributed. Most files are licensed under the LaTeX Project Public
License (http://www.latex-project.org/lppl/index.html), which requires
that no modified version be published under the name of the original
source file. For details see the FOP wiki page
(http://nagoya.apache.org/wiki/apachewiki.cgi?FOPAudits/March2003).

I am please to announce that the hyphenation pattern files for FOP are
now made available by the project `Objects for Formatting Objects'
(offo) (http://offo.sourceforge.net/). They can be downloaded from
offo's project page (http://sourceforge.net/projects/offo/). At this
moment the homepage of the project is not yet ready. Therefore the
overview of the hyphenation pattern files and their licenses is
available from my web site,
http://www.leverkruid.nl/FOP/hyphenation.html. It is also contained in
the package file.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: MathML

2004-07-16 Thread Simon Pepping
On Fri, Jul 16, 2004 at 03:38:00PM +0530, Ganesh Babu Nallamothu, Integra-India 
wrote:
 I am using FOP for batch pagination of books. My problem with this is Math
 content. When we encounter Math we need to switch to PassiveTeX. But if you
 can add Math support to FOP itself if will be very useful.
 
 Is this task is in the whish list of FOP developers??

On my wish list, yes. In the near future, no.

I believe it is possible to do MathML using JEuclid, which gives you
SVG images for the formulas.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: adding fonts to fop applet

2004-07-13 Thread Simon Pepping
On Tue, Jul 13, 2004 at 02:01:26PM +0200, tango ray wrote:
 you mean that you succeed in using a non base14 font for pdf rendering in 
 your application! Will you release the code soon (on the cvs? or your website 
 )?

No. I mean that if you add a font to your configuration file, it is
now actually added to the list of fonts that FOP uses. If usage of the
font is successful, is another matter, for which I am not very
knowledgeable.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: adding fonts to fop applet

2004-07-09 Thread Simon Pepping
On Fri, Jul 09, 2004 at 11:00:08AM +0200, tango ray wrote:

 Add a font in fop app is really hard !!!

Chris warned you, this version of FOP is under heavy
development. Support for user configuration and adding fonts is
patchy.

Well, was, I hope. I have just committed code which enables using a
user configuration file and adding fonts from it.

Usage:

- Command line: point to a configuration file similar to
  conf/fop.xconf. 
- From an app: add a configuration object to the FOUseragent object,
  using the method setUserConfig(userConfig), where userConfig is an
  avalon user configuration object similar to the configuration object
  obtained from conf/fop.xconf.
- From an app when you supply your own renderer: configure the
  renderer as an avalon Configurable object:
  renderer.configure(rendererConfig), where rendererConfig is an
  avalon renderer configuration object similar to the configuration
  object obtained from one of the renderer elements in
  conf/fop.xconf.

I have enabled some debugging. Set the loggers called FOP,
org.apache.fop.render and org.apache.fop.fonts to debug
level. Remember that this version of FOP uses Apache Commons
logging. See there for documentation. Example:

Fri Jul  9 -- 19:17:51 -- distelvlinder:~/programmeren/fop
JAVA_FLAGS=-Dorg.apache.commons.logging.simplelog.log.FOP=debug 
-Dorg.apache.commons.logging.simplelog.log.org.apache.fop.render=debug 
-Dorg.apache.commons.logging.simplelog.log.org.apache.fop.fonts=debug fop-run 
-c configuration-error.xml test-prop1.fo test-prop1.pdf
Using class path: 
/source/xml-fop/build/classes:/home/simon/programmeren/java/classes:/usr/local/javaclasses
[DEBUG] FOP - -No user configuration found for MIME type application/pdf

Fri Jul  9 -- 19:18:06 -- distelvlinder:~/programmeren/fop
JAVA_FLAGS=-Dorg.apache.commons.logging.simplelog.log.FOP=debug 
-Dorg.apache.commons.logging.simplelog.log.org.apache.fop.render=debug 
-Dorg.apache.commons.logging.simplelog.log.org.apache.fop.fonts=debug fop-run 
-c configuration.xml test-prop1.fo test-prop1.pdf
Using class path: 
/source/xml-fop/build/classes:/home/simon/programmeren/java/classes:/usr/local/javaclasses
[DEBUG] FOP - -User configuration found for MIME type application/pdf
[DEBUG] render - -Adding PDF filter for type content: null
[DEBUG] fonts - -Adding font arial.ttf, metric file arial.xml
[DEBUG] fonts - -Font triplet Arial, normal, normal
[DEBUG] fonts - -Font triplet ArialMT, normal, normal
[DEBUG] fonts - -Adding font arialb.ttf, metric file arialb.xml
[DEBUG] fonts - -Font triplet Arial, bold, normal
[DEBUG] fonts - -Font triplet ArialMT, bold, normal

Good luck, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hyphenation foundry

2004-06-20 Thread Simon Pepping
Jörg,

On Wed, Jun 16, 2004 at 11:15:42PM +0200, J.Pietschmann wrote:
 Simon Pepping wrote:
 I think it is time to create a project for the hyphenation files at
 Sourceforge. The project should be a home for all sorts of accessories
 to FOP, or even to FO processors in general. Do you want to
 participate? Do you know a nice name?
 
 Well, sf.net would appeal to a larger body of developers, I think,
 and is certainly easier to menage for small projects, but we
 can also ask on jakarta-commons, xml-commons and even declare it
 a FOP (or XML graphics) subproject.

It is up to you to decide where you want your efforts to be host it. I
am happy to present it in a sf.net project, but there is little more
that I can do. Do you want to pursue these efforts further, or do you
want to make them available to others who might be interested? I am
afraid that is always a difficult proposition without active
recruitment.
 
 Anyway, I just uploaded
  http://cvs.apache.org/~pietsch/t.tar.gz
 which contains several unfinished stuff I produced the last year:
 - Utilities to generate tables for the Unicode line break property
 - A class keeping a line break state according to TR14, which should
   be easier to usee than the java.text.BreakIterator for FOP
 - A Java port of MySpell
 - An attempt at providing a layered hierarchy for spell checking
  and hyphenation interfaces.
 - A Java port of the link grammar parser (incomplete, badly designed,
  buggy and without approvement of the original authors, *please* use
  only for personal study, don't redistribute).
 - An attempt at a morphological analyzer for german words.
 Somehow, the simple port of patgen as well as other attempts at
 simplifying the current FOP hyphenator are missing, I hope I
 remember to upload them tomorrow.

I see in the tar file two parts: java code and data. Would it be
useful to indicate which parts of the code belong to each of the above
items?

  buggy and without approvement of the original authors, *please* use
  only for personal study, don't redistribute).

This would not exclude making it available on a public web page?

Regarding your items to chew on, would you want these to be part of a
web page for this code?

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hyphenation foundry

2004-06-20 Thread Simon Pepping
I would like some rather different ideas:

FOX or FO-extra
AmFOra: an amphora for FO goodies
EuFOria: FO goodies that make FO users euphoric
Well-FO-Armed

Simon

On Wed, Jun 16, 2004 at 01:40:21PM -0700, Clay Leeds wrote:
 Sure! I'd love to participate! I don't know how yet, though...

Such a project brings always more work with it than I care to do :-)

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Hyphenation foundry [was: Re: proposed font project]

2004-06-16 Thread Simon Pepping
Hi Clay,

On Sat, May 29, 2004 at 10:02:37PM -0700, Clay Leeds wrote:
 It would also be good to develop some sort of hyphenation foundry...

I think it is time to create a project for the hyphenation files at
Sourceforge. The project should be a home for all sorts of accessories
to FOP, or even to FO processors in general. Do you want to
participate? Do you know a nice name?

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: fop CVS snapshot doesn't build with JDK 1.3

2004-06-05 Thread Simon Pepping
On Thu, Jun 03, 2004 at 09:47:31PM +0200, Christian Hattemer wrote:
 Hi,
 
 In the ant output the build gets up to the line:
 [javac] Compiling 599 source files to /home/krille/xml-fop/build/classes
 
 Then loads of error messages in a number of files follow. Since they all 
 follow
 the same pattern I have only pasted the first three. The full log is 
 available on
 request.
 
 [javac] /home/krille/xml-fop/src/java/org/apache/fop/fo/FOText.java:132: 
 Undefined variable or class name: WhiteSpaceCollapse
 
 [javac] /home/krille/xml-fop/src/java/org/apache/fop/fo/FOText.java:195: 
 Undefined variable or class name: TextTransform

WhiteSpaceCollapse and TextTransform are nested interfaces in
Constants. The interface Constants is implemented by FObj and by
extension by FOText. Therefore WhiteSpaceCollapse and TextTransform
should be known in FOText. The current CVS code is not broken, and
compiles well on my Java 1.4 installation.

Regards, Simon 

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Where to download high-quality fonts

2004-06-05 Thread Simon Pepping
On Sat, Jun 05, 2004 at 02:16:59AM -0400, Paul Tremblay wrote:
 I also notice that with cmb10, I get only a limited range of characters,
 up to unicode values 128 (ASCII).

cmb10 is one of the original Computer Modern fonts of Donald
Knuth. All these fonts contain 128 characters. On a X Window system
there are several tools to view the font table, e.g. gfontview.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: proposed font project

2004-06-01 Thread Simon Pepping
On Sat, May 29, 2004 at 10:02:37PM -0700, Clay Leeds wrote:
 Paul Tremblay said:
  I have been hard at work collecting high-quality fonts from the web,
  generating an XML metrics from these fonts, creating fragments that one
  can plug into the fop configuration file, and write short fop-xml files
  to display the qualities of these fonts.
 
  I think think that FOP could benefit from having a central place where
  one could download these fonts and metrics files to get almost instant
  fonts.
 
  Does anyone else feel this would be helpful? I had planned to make the
  fonts and metrics file avaible on Sourceforge. Any thoughts?
 
  Paul
 
 I was just thinking it would be good to add FONT resources to the FOP
 Resources or Fonts pages. This sounds like a fine idea to me. In addition,
 it might fit in to the XML Graphics spinoff currently being discussed.
 
 It would also be good to develop some sort of hyphenation foundry...

I still intend to create a SourceForge project for the hyphenation
files that do not comply with the Apache license, and therefore cannot
be made available with the FOP code. These should naturally go with
font resources with the same problem.

Regards, Simon

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Hyphenation Patterns

2004-03-29 Thread Simon Pepping
On Thu, Mar 25, 2004 at 07:00:45AM -0800, Clay Leeds wrote:
 On Mar 25, 2004, at 1:39 AM, Chris Bowditch wrote:
 Waggershauser, Thomas wrote:
 
 Hello,
 I need Hyphenation Patterns for german and french language. These are 
 not available at the fop-homepage, but a reference to a tex source. 
 Its mentioned that its possible to convert the tex-format to the fop 
 xml-format. I tried really hard to find out how to do this, but I got 
 no idea.
 Maybe here is someone who can help me...
 
 I believe that, due to licensing issues, the hyphenation patterns have 
 been removed from old binaries (hence the 'a' in 0.20.4a, 0.20.3a, 
 etc.). I suspect that the best course of action is to follow the 
 instructions on the FOP Hyphenation page[1] to convert TeX hyphenation 
 patterns. The FOP developers sincerely regret that the hyphenation 
 patterns had to be removed. If you have problems with the conversion, 
 please don't hesitate to ask for help on this list.
 
   http://xml.apache.org/fop/hyphenation.html

I am about to make the hyphenation patterns for German and French
available on my homepage, www.leverkruid.nl/FOP/index.html.

I intend to find a home for all hyphenation pattern files that have a
license that is not compatible with the Apache license, but which
allows their free distribution. I am thinking of the TeX archive CTAN,
SourceForge or Savannah.

Enjoy,
Simon Pepping

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Question about Apache FOP

2004-03-09 Thread Simon Pepping
On Tue, Mar 09, 2004 at 08:43:51AM +, Chris Bowditch wrote:
 Peter Billen wrote:
 
 - projects similar to Apache FOP - I found something about Jade (used in
 docbook I'm correct), but haven't looked into that yet.
 
 Well, xmlroff is the only other open source XSL-FO Formatter, but there 
 are a few commercial implementations. The main ones being RenderX's XEP 
 and Antenna House's XSL Formatter.

Jade is not quite similar. It uses DSSSL not XSL-FO. DSSSL is a
predecessor of XSL-FO, and applies to SGML files not XML
files. Docbook was one of the few projects that had extensive public
DSSSL stylesheets. Docbook SGML, its stylesheets and JadeTeX were used
a lot in the late 90s. JadeTeX is a so-called backend to Jade, using
TeX for typesetting. Different from FOP, Jade did not do the
typesetting itself.

Regards,
Simon Pepping

-- 
Simon Pepping
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Running junit tests fails

2003-12-13 Thread Simon Pepping
On Fri, Dec 12, 2003 at 03:32:35PM +0100, Jeremias Maerki wrote:
 Nope. With the Ant installation (binary, I've never had to build Ant
 myself, yet) you get a fully operational optional.jar with has a usable
 JUnit task as soon as you have junit.jar in %ANT_HOME%/lib.
 
 Building FOP (HEAD) without embedded Ant goes like this:
 - Install Ant binary distribution
- set the ANT_HOME environment variable
- extend you PATH variable with %ANT_HOME%\bin
 - Download JUnit and put the junit-version.jar into %ANT_HOME%\lib (if
   you want to run the testcases)
 - Download FOP from CVS
 - go to the xml-fop directory and run ant or ./ant.sh

I did that and it works fine.

Until now I have been confused about ant. That may have been caused by
the embedded ant jar files in many projects, and their possible
incompatibility. That makes that you rely on their build script, and
do not think about it. I every project requires one to obtain and
install a reasonably recent ant, and avoids incompatibilities with
that, a developer quickly gets up to speed with it. Similarly with
adding junit or other supporting packages.

Building C projects seems easy: ./configure, make, make_install. But
that is only the case if the whole tool chain is present in the
system. The same here. Having to have ant and junit seems a reasonable
requirement, provided no project requires one to have their own ever
so slightly tweaked embedded version.

Regards, Simon

-- 
Simon Pepping
email: [EMAIL PROTECTED]
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Running junit tests fails

2003-12-10 Thread Simon Pepping
On Wed, Dec 10, 2003 at 02:28:23PM +0100, Jeremias Maerki wrote:
 junit.jar is sufficient. The jar should be placed in %ANT_HOME%/lib. Use
 JUnit 3.8.1 or later to be sure.
 
 The JUnit task is included in Ant's optional.jar but only works if
 junit.jar is present in %ANT_HOME%/lib.
 
 Actually, I don't understand why the JUnit suport is recognized but the
 test cases don't work. 

junit-3.8.1.jar is the lib subdirectory of the checked out
distribution. The build script declares this directory to be
ANT_HOME. When I put the junit jar file there, the JUnit support was
recognized.

The build script does not add the junit jar file to the
LOCALCLASSPATH. But when I did that it made no difference.

Ant's failure message mentions optional.jar. I do not have that
because it does not come with the checkout. Could that be the cause?

I run Sun's java version 1.4.2_01 on linux.

 On 10.12.2003 12:44:08 Chris Bowditch wrote:
  Whats the name of the jar containing the junit ant task definition then?
  
  Ive added the junit.jar, there is also a test.jar and a src.jar in my 
  junit directory (no lib sub dir though!)
  
  The junit.present condition in the build.xml file doesnt let you procced 
  without the junit.jar. However, I'm not sure if junit.jar contains the 
  ant task definition.
 
 Jeremias Maerki

Regards, Simon

-- 
Simon Pepping
email: [EMAIL PROTECTED]
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Running junit tests fails

2003-12-09 Thread Simon Pepping
When I try to run the junit tests on the code checked out from CVS
HEAD, I get a failure because ant cannot create task or type of type:
junit. I do not know anything about junit. I had hoped this target
would run out of the box.

What should I do to make it work?

./build.sh package javadocs junit

...

init-avail:
 [echo] Apache Ant version 1.5.1 compiled on October 2 2002
 [echo] Jimi Support NOT Present
 [echo] JAI Support NOT Present
 [echo] JCE Support PRESENT
 [echo] JUnit Support PRESENT

...

init:
 [echo] --- Fop 1.0dev [1999-2003] 
 [echo] See build.properties and build-local.properties for additional 
build settings

...

junit:
 [echo] Running basic functionality tests for fop-transcoder.jar

BUILD FAILED
file:/fsd/source/xml-fop/build.xml:659: Could not create task or type of type: 
junit.

Ant could not find the task or a class this task relies upon.

junit is version 3.8.1.

-- 
Simon Pepping
email: [EMAIL PROTECTED]
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Login problems in the bug database

2003-12-09 Thread Simon Pepping
For completeness, I report herewith the resolution of the login
problem on bugzilla. It turns out to be caused by the proxy program I
use, wwwoffle version 2.7. When I tell Mozilla not to use the proxy
for a bugzilla site, the problem goes away.

See Mozilla bug report 227506,
http://bugzilla.mozilla.org/show_bug.cgi?id=227506.

Regards, Simon

On Thu, Nov 27, 2003 at 10:05:50PM +0100, Simon Pepping wrote:
 Hi,
 
 When I am logged in in the bug database, I must continually renew my
 login. I use Mozilla Firebird 0.6 and Mozilla 1.4 on Linux. Cookies
 are enabled. I have a cookie from nagoya, called BUGLIST.
 
 When I use IE on Windows98 all goes well.
 
 What do I do wrong? Is there a more specific email address for
 questions about bugzilla?
 
 Regards, Simon
 
 -- 
 Simon Pepping
 email: [EMAIL PROTECTED]
 home page: http://www.leverkruid.nl
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-- 
Simon Pepping
email: [EMAIL PROTECTED]
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Login problems in the bug database

2003-12-01 Thread Simon Pepping
On Thu, Nov 27, 2003 at 10:18:25PM -0330, John Austin wrote:
 On Thu, 2003-11-27 at 17:35, Simon Pepping wrote:
  Hi,
  
  When I am logged in in the bug database, I must continually renew my
  login. I use Mozilla Firebird 0.6 and Mozilla 1.4 on Linux. Cookies
  are enabled. I have a cookie from nagoya, called BUGLIST.
  
  When I use IE on Windows98 all goes well.
  
  What do I do wrong? Is there a more specific email address for
  questions about bugzilla?
  
 It's a pain of a problem to solve, but 'Ethereal' from
 'ethereal.com' should be able to track the session down
 for you. It will show you all of the HTTP PDU's and timings.
 
 Good graphical interface.

A good tool indeed, which provides an interesting insight in network
traffic.

For debugging of login and cookie problems its information is a bit
overwhelming. Mozilla has the possibility to write a cookie log. This
provided the required insight. The problem is due to combined Bugzilla
and Mozilla errors.

This is the interesting part:

1024[8057408]: = COOKIE NOT ACCEPTED =
1024[8057408]: request URL: http://nagoya.apache.org/bugzilla/query.cgi
1024[8057408]: cookie string: [EMAIL PROTECTED] ; path=/; expires=Sun, 
30-Jun-2029 00:00:00 GMT,Bugzilla_logincookie=50462 ; path=/; expires=Sun, 
30-Jun-2029 00:00:00 GMT,Bugzilla_password= ; path=/; expires=Sun, 30-Jun-80 
00:00:00 GMT,BUGLIST=
1024[8057408]: current time: Sun Nov 30 15:18:50 2003 GMT
1024[8057408]: rejected because cookie has already expired

Indeed, the third cookie string is dated in the year 80. (Bugzilla's error)

This is Ethereal's log of the same interaction (POST of login data and
reply with cookies):

POST /bugzilla/enter_bug.cgi HTTP/1.0
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030728 
Mozilla Firebird/0.6.1
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Referer: http://nagoya.apache.org/bugzilla/enter_bug.cgi?product=Fop
Cookie: BUGLIST=25031:25059
Content-Type: application/x-www-form-urlencoded
Content-Length: 106
Host: nagoya.apache.org
Connection: close
Accept-Encoding: deflate; q=1.0, x-gzip; q=0.9, gzip; q=0.9, identity; q=0.1

Bugzilla_login=spepping%40leverkruid.nlBugzilla_password=xxproduct=FopGoAheadAndLogIn=Login

HTTP/1.1 200 OK
Date: Sun, 30 Nov 2003 15:21:56 GMT
Server: Apache/2.0.40-dev (Unix) DAV/2 SVN/0.13.1 (dev build)
Set-Cookie: [EMAIL PROTECTED] ; path=/; expires=Sun, 30-Jun-2029 00:00:00 GMT
Set-Cookie: Bugzilla_logincookie=50463 ; path=/; expires=Sun, 30-Jun-2029 
00:00:00 GMT
Set-Cookie: Bugzilla_password= ; path=/; expires=Sun, 30-Jun-80 00:00:00 GMT
Content-Length: 5993
Connection: close
Content-Type: text/html; charset=UTF-8

HTMLHEAD
TITLEEnter Bug/TITLE
etc.

On Windos Mozilla shows this cookie log:

0[2f4780]: = COOKIE ACCEPTED =
0[2f4780]: request URL: http://nagoya.apache.org/bugzilla/query.cgi
0[2f4780]: cookie string: [EMAIL PROTECTED] ; path=/; expires=Sun, 30-Jun-2029 
00:00:00 GMT
Bugzilla_logincookie=50481 ; path=/; expires=Sun, 30-Jun-2029 00:00:00 GMT
Bugzilla_password= ; path=/; expires=Sun, 30-Jun-80 00:00:00 GMT
BUGLIST=
0[2f4780]: current time: Mon Dec 01 08:34:31 2003 GMT
0[2f4780]: 
0[2f4780]: name: Bugzilla_login
0[2f4780]: value: [EMAIL PROTECTED]
0[2f4780]: host: nagoya.apache.org
0[2f4780]: path: /
0[2f4780]: expires: Fri Jun 29 23:59:15 2029 GMT
0[2f4780]: is secure: false
0[2f4780]: 
0[2f4780]: = COOKIE ACCEPTED =
0[2f4780]: request URL: http://nagoya.apache.org/bugzilla/query.cgi
0[2f4780]: cookie string: Bugzilla_logincookie=50481 ; path=/; expires=Sun, 
30-Jun-2029 00:00:00 GMT
Bugzilla_password= ; path=/; expires=Sun, 30-Jun-80 00:00:00 GMT
BUGLIST=
0[2f4780]: current time: Mon Dec 01 08:34:31 2003 GMT
0[2f4780]: 
0[2f4780]: name: Bugzilla_logincookie
0[2f4780]: value: 50481
0[2f4780]: host: nagoya.apache.org
0[2f4780]: path: /
0[2f4780]: expires: Fri Jun 29 23:59:15 2029 GMT
0[2f4780]: is secure: false
0[2f4780]: 
0[2f4780]: = COOKIE NOT ACCEPTED =
0[2f4780]: request URL: http://nagoya.apache.org/bugzilla/query.cgi
0[2f4780]: cookie string: Bugzilla_password= ; path=/; expires=Sun, 30-Jun-80 
00:00:00 GMT
BUGLIST=
0[2f4780]: current time: Mon Dec 01 08:34:31 2003 GMT
0[2f4780]: rejected because cookie has already expired

This is the correct behaviour. There are three cookies, and only one
is rejected. It turns out that Bugzilla never requires the rejected
cookie. The above is therefore also Mozilla's error in some versions.

This problem was reported in Mozilla's bug database as bug report
193951, http://bugzilla.mozilla.org/show_bug.cgi?id=193951. It was
solved by newer versions. I am going to upgrade now, and hope that it
is true.

Note that Mozdev has a project livehttpheaders,
http://livehttpheaders.mozdev.org/, which

Login problems in the bug database

2003-11-27 Thread Simon Pepping
Hi,

When I am logged in in the bug database, I must continually renew my
login. I use Mozilla Firebird 0.6 and Mozilla 1.4 on Linux. Cookies
are enabled. I have a cookie from nagoya, called BUGLIST.

When I use IE on Windows98 all goes well.

What do I do wrong? Is there a more specific email address for
questions about bugzilla?

Regards, Simon

-- 
Simon Pepping
email: [EMAIL PROTECTED]
home page: http://www.leverkruid.nl


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]