On Thursday 05 October 2006 18:57, Lars Ivar Igesund wrote: > Manuel Mall <manuel <at> apache.org> writes: > > > That is possible, I guess. Hmm, XPP3 is in there, and whatever > > > ServiceMix use for it's XML parsing (might actually be Xerces, as > > > I didn't put it there). > > > > > > Also, when searching the net for that particular error message, I > > > got some hits related to invalid documents, > > > http://www.mail-archive.com/fop-dev%40xmlgraphics.apache.org/msg0 > > >5025 .html, also reasonable recent. Can it be related to > > > validation levels? > > > > > > I'm still very curious about the first issue I had, btw. > > > > If I followed this correctly your first issue was the error > > message: > > > > WARN - FOTreeBuilder - Mismatch: > > instream-foreign-object > > (http://www.w3.org/1999/XSL/Format) vs. svg > > (http://www.w3.org/2000/svg) > > > > You then removed the xslt translation and concentrated only on the > > .fo. In the end you posted an .fo which works for me but not for > > you, that is it is still throwing a similar error. > > > > My 'gut' feel is that its one and the same problem. Your XML parser > > gets confused with the namespaces. If you get the simple .fo > > working in your environment then the rest will likely work as well. > > I was of the impression (could be wrong of course), that this message > (following the Mismatch warnings) was more relevant/important. > > (Location of error unknown)org.apache.fop.apps.FOPException: > Error(Unknown location): No element mapping definition found for > svg:svg > > As far as I can tell from the exception stack traces, Xerces is used, > btw. > > Is a binary snapshot of trunk available?
No, but given that 0.92beta works for me under Linux I still think something else is wrong. Assuming you have a 'vanilla' 0.92beta installion available, that is just the .tar.gz file expanded into its own (fop-0.92beta) directory without any customizations. Now cd to that directory put the .fo snippet into the same directory as let's say svg.fo and then run ./fop svg.fo svg.pdf. This is what I did and it works fine. If that doesn't work do export FOP_OPTS=-verbose:class ./fop svg.fo svg.pdf this will dump all classloading activity. If it helps I can e-mail you the output I get for comparison. > > Regards, > Lars Ivar Igesund > Manuel --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
