Jeremias Maerki wrote:
Sounds like you XML parser doesn't provide namespace information. You
may have to enable that feature. What XML parser and XSLT implementation
do you use? FOP is by default using Apache Xerces and Xalan which work
fine.

I use the software pretty "out of the box" so they're Xerces and Xalan. Here's what it outputs when I try to process xml-fop/docs/examples/markers/glossary.xml:


D:\Java\tools\fop-0.20.5rc\docs\examples\markers>fop glossary.xml glossary.pdf
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5rc
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] Unknown formatting object ^glossary
[ERROR] Root element must be root, not :glossary


As you can see, I'm using a Windows box... The command fop is a batch file which just executes "java org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8" (had to do it this way due to the lack of command aliases in DOS). I haven't altered the files (glossary.[xml|xsl])...


-- -- Santtu "Japsu" Pajukanta -- [EMAIL PROTECTED] -- ICQ#: 115011651

"Any job worth doing with a laser is worth doing with many, many lasers",
-Khrima in ADVENTURERS! the comic by Mark Shallow


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



Reply via email to