xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clay Leeds <cle...@medata.com>
Subject Re: Caching
Date Mon, 24 Feb 2003 17:39:57 GMT
I get an error when I run FOP under Mac OS X 10.2.4 terminal. I ZIP'd a 
test directory (w/ XML file, XSL-FO file and my DTD), to transfer to my 
Mac from my PC for testing. When I unZIP on my PC & process with FOP, I 
get no errors. However, I get the following terminal output when 
processing under my Mac. I should point out, that I use 
"xsl:attribute-set" near the top of my XSL-FO file, and set 
<xsl:attribute name="font-family">courier new, courier, 
monospace</xsl:attribute>. This setting is made as close to the root 
level as possible. Nowhere in this XSL-FO document do I change this. I 
indicate this, because at one point in the error output below, it returns:

[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
2003-02-24 09:02:19.679 java[1031] Font GB18030Bitmap: in 
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-02-24 09:02:19.733 java[1031] Warning: Font 
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!

I do not reference any Lucida font anywhere in my document.

System Info:
Mac OS X 10.2.4 (latest Mac OS X release)
Java full version "1.4.1-24" (latest JDK from Apple)

Mac OS X Terminal output:

[Clays-TiBook:Shared/_WebDLs/test_MEDATA_xml_1.1 Folder] clay% fop -d 
-xml test_MIWC_1.1.xml -xsl xml_med7_MIWC.fo -awt
[DEBUG] Input mode:
[DEBUG] xslt transformation
[DEBUG] xml input file: test_MIWC_1.1.xml
[DEBUG] xslt stylesheet: xml_med7_MIWC.fo
[DEBUG] Output mode:
[DEBUG] awt on screen
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] base directory: file:/Users/Shared/_WebDLs/test_MEDATA_xml_1.1 
Folder/
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
2003-02-24 09:02:19.679 java[1031] Font GB18030Bitmap: in 
_readBasicMetricsForSize, claims 0 max advance but is fixed-pitch.
2003-02-24 09:02:19.733 java[1031] Warning: Font 
LucidaSans-TypewriterBold claims fixed-pitch with 0 max advance!
[ERROR] no protocol: xml_med7_dtd_1.1.dtd
org.apache.fop.apps.FOPException: no protocol: xml_med7_dtd_1.1.dtd
         at org.apache.fop.apps.Driver.render(Driver.java:466)
         at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:117)
         at org.apache.fop.apps.Fop.main(Fop.java:19)

---------

java.net.MalformedURLException: no protocol: xml_med7_dtd_1.1.dtd
         at java.net.URL.<init>(URL.java:579)
         at java.net.URL.<init>(URL.java:476)
         at java.net.URL.<init>(URL.java:425)
         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown 
  Source)
         at 
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at 
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unk 
nown Source)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno 
wn 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.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
         at org.apache.fop.apps.Driver.render(Driver.java:457)
         at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:117)
         at org.apache.fop.apps.Fop.main(Fop.java:19)

---------

java.net.MalformedURLException: no protocol: xml_med7_dtd_1.1.dtd
         at java.net.URL.<init>(URL.java:579)
         at java.net.URL.<init>(URL.java:476)
         at java.net.URL.<init>(URL.java:425)
         at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown 
  Source)
         at 
org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source)
         at 
org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source)
         at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unk 
nown Source)
         at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno 
wn 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.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:134)
         at org.apache.fop.apps.Driver.render(Driver.java:457)
         at org.apache.fop.apps.AWTStarter.run(AWTStarter.java:117)
         at org.apache.fop.apps.Fop.main(Fop.java:19)
[Clays-TiBook:Shared/_WebDLs/test_MEDATA_xml_1.1 Folder] clay%

#-#-#-#-#

WinXP Terminal Output:
C:\Program Files\Java\fop-0.20.4>fop -d -xml 
C:\_Web_DLs\test_MEDATA_xml_1.1\test_MIWC_1.1.xml -xsl 
C:\_Web_DLs\test_MEDATA_xml_1.1\xml_med7_MIWC.fo -awt

C:\Program Files\Java\fop-0.20.4>java -cp 
build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib\xml-apis.jar;lib\avalon-framework-cvs-20020315.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar

org.apache.fop.apps.Fop -d -xml 
C:\_Web_DLs\test_MEDATA_xml_1.1\test_MIWC_1.1.xml -xsl 
C:\_Web_DLs\test_MEDATA_xml_1.1\xml_med7_MIWC.fo -awt
[DEBUG] Input mode:
[DEBUG] xslt transformation
[DEBUG] xml input file: C:\_Web_DLs\test_MEDATA_xml_1.1\test_MIWC_1.1.xml
[DEBUG] xslt stylesheet: C:\_Web_DLs\test_MEDATA_xml_1.1\xml_med7_MIWC.fo
[DEBUG] Output mode:
[DEBUG] awt on screen
[DEBUG] OPTIONS
[DEBUG] no user configuration file is used [default]
[DEBUG] debug mode on
[DEBUG] dump configuration
[DEBUG] quiet mode on
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[DEBUG] base directory: file:/C:/_Web_DLs/test_MEDATA_xml_1.1/
[ERROR] Logger not set
[DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[DEBUG] setting up fonts
[INFO] [1]
[INFO] [2]
[INFO] [3]
[INFO] Parsing of document complete, stopping renderer

C:\Program Files\Java\fop-0.20.4>

#-#-#-#

Thanks in advance!
-- 
Clay Leeds - cleeds@medata.com
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message