Hi all-
when i run fop through my java code and generate a pdf i am apparently using
a different sax parser than if i run it from the command line out of the jar
files.  The output i get from the command line is:

[INFO] Using org.apache.crimson.parser.XMLReaderImpl as SAX2 Parser
[INFO] FOP 0.20.5rc
[INFO] Using org.apache.crimson.parser.XMLReaderImpl as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[INFO] [1]


but when i run from my code i get:

[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[INFO] [1]


some how the two different parsers parse the xml in a different way and with
the xerces parser i get some weird white space in the pdf's if i have
white-space-collapse set to false.  everything is normal when i am using the
crimson parser.   does anyone have a suggestion for how i get my code to use
the crimson class?

Thanks,
-David Rosenstein
IMS Software
http://www.ims-usa.com



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

Reply via email to