Do you think the error below can be generated by the absence of a fr.xml
hyphenation file in the 0.20.5 version of FOP ? So the two problems (add
hyphenation file and this error ) maibe the same one .
If not, does someone know how I can fix this please :
java.io.InvalidClassException:
org.apache.fop.layout.hyphenation.HyphenationTree; Local class not compatible:
stream cla
ssdesc serialVersionUID=-7784516835472871478 local class
serialVersionUID=6956085100635965297
at java.io.ObjectStreamClass.validateLocalClass(Unknown Source)
at java.io.ObjectStreamClass.setClass(Unknown Source)
at java.io.ObjectInputStream.inputClassDescriptor(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.inputObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at
org.apache.fop.layout.hyphenation.Hyphenator.getFopHyphenationTree(Hyphenator.java:165)
at
org.apache.fop.layout.hyphenation.Hyphenator.getHyphenationTree(Hyphenator.java:91)
at
org.apache.fop.layout.hyphenation.Hyphenator.hyphenate(Hyphenator.java:251)
at org.apache.fop.layout.LineArea.doHyphenation(LineArea.java:1208)
at org.apache.fop.layout.LineArea.addText(LineArea.java:857)
at org.apache.fop.fo.FOText.addRealText(FOText.java:278)
at org.apache.fop.fo.FOText.addText(FOText.java:252)
at org.apache.fop.fo.FOText.layout(FOText.java:161)
at org.apache.fop.fo.FObjMixed.layout(FObjMixed.java:139)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.TableCell.layout(TableCell.java:326)
at org.apache.fop.fo.flow.TableRow.layout(TableRow.java:360)
at
org.apache.fop.fo.flow.AbstractTableBody.layout(AbstractTableBody.java:236)
at org.apache.fop.fo.flow.Table.layout(Table.java:302)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
at
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400)
at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.fop.apps.Driver.render(Driver.java:498)
at
org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
at org.apache.fop.apps.Fop.main(Fop.java:62)
-- -----Message d'origine-----
-- De : Peter Menzel [mailto:[EMAIL PROTECTED]
-- Envoy� : mardi 27 janvier 2004 10:06
-- � : [EMAIL PROTECTED]
-- Objet : Re: hyphenation problem
--
--
-- Hi
--
-- If you want to include new hyphenation patterns into fop,
-- it's not enough to zip them into the fop.jar.. You have to
-- download the source, copy the patterns in the hyph dir and
-- then run the build script, to compile a new jar file..
--
-- Peter
--
--
--
-- > Hy,
-- >
-- > I upgrade from 0.20.4 to 0.20.5 and I have the following
-- error in the
-- > log :
-- >
-- > "[ERROR] Couldn't find hyphenation pattern fr_fr
-- > using general language pattern fr instead."
-- >
-- > Even I've add to fop.jar the fr.hyp file.
-- >
-- > Maibe it's not the right solution, but french hyphenation was not
-- > support in the 0.20.5 I beleave.
-- >
-- > Could someone help please.
-- >
-- >
-- >
-- --
-- [EMAIL PROTECTED]
-- Institut f�r Medizinische Informatik, Statistik und
-- Epidemiologie (IMISE) Universit�t Leipzig
--
-- ------------------------------------------------------------
-- ---------
-- To unsubscribe, e-mail: [EMAIL PROTECTED]
-- For additional commands, e-mail: [EMAIL PROTECTED]
--
--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]