If I were you, I'd skip FOP entirely for the moment and clean up the
stylesheet so it produces proper XSL-FO. Once you've done that you can
go back to running FOP. It looks like you're feeding HTML parts to FOP
which it (obviously) doesn't like.

On 17.04.2006 18:21:01 Gosselin, Michael wrote:
> I'm having a problem debugging the [INFO] and [ERROR] messages I get from
> FOP, and could use some help.
> 
> Here is the recent output from an FOP build:
> 
> [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
> [INFO] FOP 0.20.5
> [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
> [INFO] building formatting object tree
> [INFO] setting up fonts
> [ERROR] Unsupported element encountered: CSection (Namespace:
> urn:Correlagen:RightReport). Source context: unavailable
> [ERROR] Expected XSL-FO (root, page-sequence, etc.), SVG (svg, rect, etc.)
> or elements from another supported language.
> [ERROR] Unsupported element encountered: Content (Namespace:
> urn:Correlagen:RightReport). Source context: unavailable
> [ERROR] Unsupported element encountered: div (Namespace: default). Source
> context: unavailable
> [ERROR] Unsupported element encountered: img (Namespace: default). Source
> context: unavailable
> [ERROR] Unsupported element encountered: br (Namespace: default). Source
> context: unavailable
> [ERROR] Unsupported element encountered: span (Namespace: default). Source
> context: unavailable
> [ERROR] Unsupported element encountered: table (Namespace: default). Source
> context: unavailable
> [ERROR] Unsupported element encountered: tr (Namespace: default). Source
> context: unavailable
> [ERROR] Unsupported element encountered: td (Namespace: default). Source
> context: unavailable
> [ERROR] Unsupported element encountered: i (Namespace: default). Source
> context: unavailable
> [ERROR] Unsupported element encountered: b (Namespace: default). Source
> context: unavailable
> [ERROR] Error in column-width property value '3.46 cm
> ': org.apache.fop.fo.expr.PropertyException: No conversion defined
> [ERROR] Error in column-width property value '3.46 cm
> ': org.apache.fop.fo.expr.PropertyException: No conversion defined
> [ERROR] Error in column-width property value '3.46 cm
> ': org.apache.fop.fo.expr.PropertyException: No conversion defined
> [ERROR] Error in column-width property value '3.46 cm
> ': org.apache.fop.fo.expr.PropertyException: No conversion defined
> [ERROR] Error in column-width property value '3.46 cm
> ': org.apache.fop.fo.expr.PropertyException: No conversion defined
> [INFO] [1]
> [INFO] [2]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [3]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [4]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [5]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [6]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [7]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [8]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [9]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [10]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [11]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [12]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [13]
> [ERROR] no handler defined for urn:Correlagen:RightReport:CSection foreign
> xml
> [INFO] [14]
> [INFO] [14]
> [ERROR] At least one of minimum, optimum, or maximum IPD must be specified
> on table.
> [ERROR] java.lang.ClassCastException
> 
> 
> These can break down into a few categories:
> 
> 1) no handler: ignore these, as it's from the client;
> 2) Unsupported element encountered: probably, but not definitely, related to
> (1);
> 3) Expected XSL-FO: I don't even know where to look for this in the XSL
> file;
> 4) Error in column-width property value: I don't know why; it's clearly
> labled.  Then again, I don't have anything that 8.75 inches defined (which
> is 3.46*2.54);
> 5) At least one of minimum, optimum, or maximum IPD must be specified on
> table: I thought all tables were marked as fixed, with column widths; it it
> possible I missed one?
> 6) java.lang.ClassCastException: no line number, so I'm baffled.
> 
> Any thoughts would be most appreciated.



Jeremias Maerki


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

  • How to debug Gosselin, Michael
    • Re: How to debug Jeremias Maerki

Reply via email to