DO NOT REPLY [Bug 41649] - fop0.93 - Does not generate svg line or svg rectable, used to work in fop0.91beta

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41649


[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|Does not generate svg line  |fop0.93 - Does not generate
   |or svg rectable.|svg line or svg rectable,
   ||used to work in fop0.91beta




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41649] New: - Does not generate svg line or svg rectable.

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41649

   Summary: Does not generate svg line or svg rectable.
   Product: Fop
   Version: 0.93
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: critical
  Priority: P2
 Component: svg
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


My test xsl file, pdf should draw line.


http://xml.apache.org/fop/extensions"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format";>











http://www.w3.org/2000/svg"; >
  








When I try to convert this file to pdf using fop-0.91beta in the command line 
using the command> fop vijitest.fo vijitest.pdf 
the pdf gets generated with a line in it.

But, When I try to convert this file to pdf using fop-0.93 in the command line 
using the command> fop vijitest.fo vijitest.pdf I get nothing in the pdf file.



My test xsl file, pdf should two rectangles.


http://xml.apache.org/fop/extensions"; 
xmlns:fo="http://www.w3.org/1999/XSL/Format";>











http://www.w3.org/2000/svg"; >
  









When I try to convert this file to pdf using fop-0.91beta in the command line 
using the command> fop vijitest.fo vijitest.pdf 
the pdf gets generated with two red rectangles one overlapping another.

But, When I try to convert this file to pdf using fop-0.93 in the command line 
using the command> fop vijitest.fo vijitest.pdf I get the following exception 
in the command window

Feb 16, 2007 3:05:16 PM org.apache.fop.render.pdf.PDFSVGHandler 
renderSVGDocument
SEVERE: svg graphic could not be built: file:/C:/Downloads/FOP/fop-
0.93/examples/fo/svg/:-1
The attribute "width" of the element  is required
org.apache.batik.bridge.BridgeException: file:/C:/Downloads/FOP/fop-
0.93/examples/fo/svg/:-1
The attribute "width" of the element  is required
at org.apache.batik.bridge.SVGRectElementBridge.buildShape(Unknown 
Source)
at org.apache.batik.bridge.SVGShapeElementBridge.createGraphicsNode
(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at org.apache.fop.render.pdf.PDFSVGHandler.renderSVGDocument
(PDFSVGHandler.java:186)
at org.apache.fop.render.AbstractGenericSVGHandler.handleXML
(AbstractGenericSVGHandler.java:67)
at org.apache.fop.render.AbstractRenderer.renderXML
(AbstractRenderer.java:856)
at org.apache.fop.render.PrintRenderer.renderDocument
(PrintRenderer.java:148)
at 
org.apache.fop.render.AbstractPathOrientedRenderer.renderForeignObject
(AbstractPathOrientedRenderer.java:703)

at org.apache.fop.render.AbstractRenderer.renderViewport
(AbstractRenderer.java:756)
at org.apache.fop.render.AbstractPathOrientedRenderer.renderViewport
(AbstractPathOrientedRenderer.java:541)
at org.apache.fop.render.AbstractRenderer.renderInlineArea
(AbstractRenderer.java:635)
at org.apache.fop.render.AbstractRenderer.renderLineArea
(AbstractRenderer.java:610)
at org.apache.fop.render.pdf.PDFRenderer.renderLineArea
(PDFRenderer.java:1081)
at org.apache.fop.render.AbstractRenderer.renderBlocks
(AbstractRenderer.java:536)
at org.apache.fop.render.AbstractRenderer.renderBlock
(AbstractRenderer.java:586)
at org.apache.fop.render.AbstractRenderer.renderBlocks
(AbstractRenderer.java:526)
at org.apache.fop.render.AbstractRenderer.renderFlow
(AbstractRenderer.java:431)
at org.apache.fop.render.AbstractRenderer.renderMainReference
(AbstractRenderer.java:410)
at org.apache.fop.render.AbstractRenderer.renderBodyRegion
(AbstractRenderer.java:344)
at org.apache.fop.render.AbstractRenderer.renderRegionViewport
(AbstractRenderer.java:289)
at org.apache.fop.render.AbstractRenderer.renderPageAreas
(AbstractRenderer.java:262)
at org.apache.fop.render.AbstractRenderer.renderPage
(AbstractRenderer.java:236)
at org.apache.fop.render.pdf.PDFRenderer.renderPage
(PDFRenderer.java:713)

DO NOT REPLY [Bug 41645] - Bad svn link for 0.93 on fop website

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41645


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 11:36 ---
That should be http://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-0_93/.
The branch has been deleted upon release. Fixed in revision 508542.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41645] New: - Bad svn link for 0.93 on fop website

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41645

   Summary: Bad svn link for 0.93 on fop website
   Product: Fop
   Version: all
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: documentation
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


Sorry if this isn't the appropriate location to file this, but as I tried to
retrieve the fop 0.93 source code at the link provided on the download page:

http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_93/

and it returns 404. 

Just so's y'all know

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40288] - url requires "/", failes otherwise

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40288


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #19604|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 06:44 ---
Created an attachment (id=19607)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19607&action=view)
logs full url - not just relative part if there is a failed resolution

Ammends base url as necessary with trailing '/'.  I can't think of any
reason/instance when you would want to lose the end part of your base url
because you neglected to append a trailing slash.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41637] - in-line border-end does not always get rendered

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41637





--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 05:39 ---
Created attachment twice, but can;t see here. serial of second is #19605

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41637] - in-line border-end does not always get rendered

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41637





--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 05:36 ---
Created an attachment (id=19605)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19605&action=view)
fo and pdf to illustrate the claim


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41631] - Percentages in proportional-column-width() not supported

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41631





--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 04:47 ---

Just FYI, adding the following simple method to PercentLength seems to do the 
trick:

public Number getNumber() {
return new Double(factor);
}

Only seems a bit awkward to me that a percentage as a subexpression is parsed 
into a PercentLength 
here...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40288] - url requires "/", failes otherwise

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40288





--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 04:38 ---
Not sure I like the warning. There is no requirement for a base URL to end with 
a /.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40288] - url requires "/", failes otherwise

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40288


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #19603|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 04:24 ---
Created an attachment (id=19604)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19604&action=view)
logs full url - not just relative part if there is a failed resolution

not warns about base urls not ending with '/' chars

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40288] - url requires "/", failes otherwise

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40288





--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 04:22 ---
(From update of attachment 19603)
Index: C:/workspace/fop/src/java/org/apache/fop/apps/FOURIResolver.java
===
--- C:/workspace/fop/src/java/org/apache/fop/apps/FOURIResolver.java   
(revision 507572)
+++ C:/workspace/fop/src/java/org/apache/fop/apps/FOURIResolver.java   
(working copy)
@@ -155,7 +155,7 @@
 //Note: This is on "debug" level since the caller is supposed to
handle this
 log.debug("File not found: " + effURL);
 } catch (java.io.IOException ioe) {
-log.error("Error with opening URL '" + href + "': " +
ioe.getMessage());
+log.error("Error with opening URL '" + effURL + "': " +
ioe.getMessage());
 }
 return null;
 }
@@ -202,6 +202,9 @@
  * @returns the base URL as java.net.URL
  */
 private URL toBaseURL(String baseURL) {
+if (!baseURL.endsWith("/")) {
+log.warn("Base url does not end with a '/'.  This could cause
resolution problems");
+}
 try {
 return new URL(baseURL == null 
 ? new java.io.File("").toURL().toExternalForm() 


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40288] - url requires "/", failes otherwise

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40288


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40288] - url requires "/", failes otherwise

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40288





--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 04:12 ---
Created an attachment (id=19603)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19603&action=view)
logs full url - not just relative part if there is a failed resolution


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41631] - Percentages in proportional-column-width() not supported

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41631





--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 03:54 ---

Agreed with the interpretation. 
proportional-column-width() takes a Numeric, so percentages should indeed be 
allowed, and the 
suggested way of interpreting percentage values makes a lot of sense.

Ran a quick test, and the problem seems to be:
fop.expr.PPColWidthFunction expects a number, but gets a null if percentages 
are specified.
RelativeNumericProperty does not override Property.getNumber()...


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41637] - in-line border-end does not always get rendered

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41637





--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 03:47 ---
József,

could you please attach a small but complete fo file demonstrating the problem.

Thanks

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41637] New: - in-line border-end does not always get rendered

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41637

   Summary: in-line border-end does not always get rendered
   Product: Fop
   Version: 0.93
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: fo tree
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


The example:

 edges, at the sides
(sides) as well as on
 )  ... and the end border
appears!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41635] - Spaces in font names are breaking font selection

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41635


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2007-02-16 03:38 ---
This one should be fixed in FOP Trunk. 

Workaround for FOP 0.93 is to quote the font-family name, like:

font-family="'Times New Roman'"

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41635] New: - Spaces in font names are breaking font selection

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41635

   Summary: Spaces in font names are breaking font selection
   Product: Fop
   Version: 0.93
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: fonts
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41634] New: - footnotes from table-cells and list-items do not get rendered in PDF

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41634

   Summary: footnotes from table-cells and list-items do not get
rendered in PDF
   Product: Fop
   Version: 0.93
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: fo tree
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41633] New: - inline-progression-dimension on inlines does not work (v.0.93)

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41633

   Summary: inline-progression-dimension on inlines does not work
(v.0.93)
   Product: Fop
   Version: 0.93
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: fo tree
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 41631] New: - Percentages in proportional-column-width() not supported

2007-02-16 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41631

   Summary: Percentages in proportional-column-width() not supported
   Product: Fop
   Version: 1.0dev
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: fo tree
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


I've seen examples where a percentage was used in
proportional-column-width(numeric). FOP raises an error in this case, but I
think that's wrong. The spec says:
"Percentages are values that are counted in 1/100 units. That is, 10% as a
percentage value is 0.10 as a floating point number."
and
"For example, a value of "110%" on a "font-size" property would be evaluated to
mean 1.1 times the current font size. Such a definition of the allowed
conversion for percentages is specified on the property definition. If no
conversion is specified, the resulting value is a percentage."

http://www.w3.org/TR/xsl11/#d0e5420

I interpret this so that the proportional-column-width(20%) is, in this case,
simply converted to the numeric value 0.2. So if you consistently use
percentages to specify the column widths you'd get the expected result.

Tasks:
- Get feedback if this view is correct.
- Write a test case
- Fix the problem

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.