[GUMP] Build Failure - Fop

2002-03-23 Thread Sam Ruby


This email is autogenerated from the output from:
http://jakarta.apache.org/builds/gump/2002-03-23/xml-fop.html


Buildfile: build.xml

init-avail:

init-filters-xalan2:
 [copy] Copying 1 file to /home/rubys/jakarta/xml-fop/build/src/codegen

init:
 [echo] --- Fop 1.0dev [1999-2002] 

prepare:
 [echo] Preparing the build directories
[mkdir] Created dir: 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties
[mkdir] Created dir: 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/svg
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/conf
[mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/hyph
 [copy] Copying 3 files to /home/rubys/jakarta/xml-fop/build/classes/conf

codegen:
 [echo] Resetting codegen directory
 [copy] Copying 30 files to /home/rubys/jakarta/xml-fop/build/src/codegen
 [echo] Generating the java files from xml resources
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/allprops.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/Constants.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/genconst.xsl
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/foproperties.xml 
to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/fo_ignore_this.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/properties.xsl
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/foproperties.xml 
to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/FOPropertyMapping.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/propmap.xsl
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/foproperties.xml 
to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties/foenums_ignore_this.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/enumgen.xsl
[style] Processing /home/rubys/jakarta/xml-fop/build/src/codegen/charlist.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/CodePointMapping.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/code-point-mapping.xsl
[style] Transforming into 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/CourierBold.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/CourierBold.java
[style] Loading stylesheet 
/home/rubys/jakarta/xml-fop/build/src/codegen/font-file.xsl
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/Courier.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/Courier.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/CourierBoldOblique.xml 
to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/CourierBoldOblique.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/CourierOblique.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/CourierOblique.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/Helvetica.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/Helvetica.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/HelveticaBold.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/HelveticaBold.java
[style] Processing 
/home/rubys/jakarta/xml-fop/src/codegen/HelveticaBoldOblique.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/HelveticaBoldOblique.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/HelveticaOblique.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/HelveticaOblique.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/Symbol.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/Symbol.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/TimesBold.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/TimesBold.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/TimesBoldItalic.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/TimesBoldItalic.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/TimesItalic.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/TimesItalic.java
[style] Processing /home/rubys/jakarta/xml-fop/src/codegen/TimesRoman.xml to 
/home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts/TimesRoman.java
[style] Processing 

DO NOT REPLY [Bug 7400] New: - Formatting fo:page-number-citation

2002-03-23 Thread bugzilla

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7400.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7400

Formatting fo:page-number-citation

   Summary: Formatting fo:page-number-citation
   Product: Fop
   Version: 0.20.3
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Normal
  Priority: Other
 Component: general
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


fo:page-number-citation etc.. don't use the format define in fo:page-sequence
master-reference=myPage format=00

fo:page-number-citation display 1 even if it refer to page correctly displayed 01

OS : Win2k sp2, Linux RH 7.2 Mdk 8.2 (both PC) and MacOsX 10.1.3

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




Re: AWTRenderer L10N issues

2002-03-23 Thread Patrick Andries

Christian Geisert wrote:

 Alex V. Alishevskikh wrote:

 Hi, there,

 I've found what messages.ru file is missing in the AWT Renderer 
 resources. As a result, AWTStarter crashes with NullPointerException 
 on launching it on russian system.

 The another issue is wrong encoding in resources.ru file (it looks 
 like 8859-1 ), what makes the cyrillic labels and menus are unreadable. 

No, it was coded in 8859-5 (Cyrillic) or Windows 1251, I can see 
File=fail æÁÊÌ. You most probably compiled on a non-Cyrillic 
machine and did not set -encoding javac compilation option. I believe 
your change is, however, a good one.

I notice you also change some translations.(About, Show, etc.).
.



 I've created the messages.ru and resources.ru files with russian text 
 in UTF-8 (see attached files). It seems what it works well (FOP 
 0.20.3, Sun JDK 1.3.0).

Did you use Unicode escape sequences (with native2ascii) ? If not, I'm 
not sure it works all the time (might because of BOM).

? The only encoding that Properties and PropertyResourceBundle 
understand is ISO 8859-1 with Unicode escapes. This is not UTF-8. UTF-8 
encodes Unicode characters into sequences of 1 to 4 bytes using a 
mapping specified in The Unicode Standard, version 2.0 or 3.0. Other 
encodings need to be converted with the native2ascii tool. This applies 
to all releases from 1.1 to 1.3. ?
http://www.sun.com/developers/gadc/faq/java/files/properties.html#2.0


 I wish to propose the solution for case when AWTStarter cannot finds 
 the resource bundle appropriated for user language: then let it to 
 use the english (*.en) resources as default.


 [..]

 It should prevent the crashes on machines with language settings are 
 unsupported in AWT renderer resources. Any opinions?

I wonder if this is a good idea.

Why not use whatever is in the default resourceBundle ? Hardcoding seems 
useless at best when there is a more flexible built-in mechanism 
(getBundle search).
However, it looks like this mechanism is short-circuited in AWTStarter 
by using a ResourceBundle name that incorporates the language ( 
resource = getResourceBundle(TRANSLATION_PATH + resources. + 
language)) and does not set any Locale. I do not believe this to be wise.

This is an i18n issue.

P. Andries
---

Tout Unicode 3.1 en franc,ais
http://hapax.iquebec.com



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




Re: AWTRenderer L10N issues

2002-03-23 Thread Patrick Andries



Patrick Andries wrote:

 Christian Geisert wrote:

 Alex V. Alishevskikh wrote:

 Hi, there,

 I've found what messages.ru file is missing in the AWT Renderer 
 resources. As a result, AWTStarter crashes with NullPointerException 
 on launching it on russian system.

 The another issue is wrong encoding in resources.ru file (it looks 
 like 8859-1 ), what makes the cyrillic labels and menus are unreadable. 


 No, it was coded in 8859-5 (Cyrillic) or Windows 1251, I can see 
 File=fail æÁÊÌ. You most probably compiled on a non-Cyrillic 
 machine and did not set -encoding javac compilation option. I believe 
 your change is, however, a good one. 


Forget the -encoding javac compilation option, this is for 
ListResourceBundle. It's getting late.

P. Andries





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