. ;-)
-Ursprüngliche Nachricht-
Von: fop-users@xmlgraphics.apache.org
Gesendet: 08.04.08 12:30:51
An: fop-users@xmlgraphics.apache.org
Betreff: Re: ClassCast-Exception when trying fopfactory.newinstance()
Works for me. The ClassCastException doesn't make much sense
UTF-8 sequence.
The funny thing is still, that it worked before. ;-)
-Ursprüngliche Nachricht-
Von: fop-users@xmlgraphics.apache.org
Gesendet: 08.04.08 12:30:51
An: fop-users@xmlgraphics.apache.org
Betreff: Re: ClassCast-Exception when trying fopfactory.newinstance()
Works
I only use Word2003 and save the file as an xml. The xml-file-encoding ist
UTF-8.
-Ursprüngliche Nachricht-
Von: fop-users@xmlgraphics.apache.org
Gesendet: 08.04.08 12:55:50
An: fop-users@xmlgraphics.apache.org
Betreff: Re: ClassCast-Exception when trying fopfactory.newinstance
.
-Ursprüngliche Nachricht-
Von: fop-users@xmlgraphics.apache.org
Gesendet: 08.04.08 12:55:50
An: fop-users@xmlgraphics.apache.org
Betreff: Re: ClassCast-Exception when trying fopfactory.newinstance()
That usually indicates an encoding problem in the XML. For example, you
An: fop-users@xmlgraphics.apache.org
Betreff: Re: ClassCast-Exception when trying fopfactory.newinstance()
Are you sure it's the XML file it's complaining about and not the
stylesheet maybe? Have you opened the XML file in an XML editor to check
the wellformedness?
On 08.04.2008 13:08:43
I get a ClassCastException if I try to make an instance with
FopFactory.newInstance(). It already used to work but now doesn't any more
while I made no changes to the class.
I type an excerpt from the StackTrace:
cce: org.apache.fop.render.afp.extensions.AFPExtensionHandlerFactory cannot be
Jeremias Maerki wrote:
Works for me. The ClassCastException doesn't make much sense as the
AFPExtensionHandlerFactory IS an implementation of the
ContentHandlerFactory interface. So I realy don't understand why this
happens. The only reason I can think of is that there's is a mix of
different,