You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Leonardo Battagli <ba...@sdb.it> on 2001/01/29 10:39:38 UTC

Xalan/XPath e Xalan/xslt

Hi all,

Why I am not able to find this packages????

I have the last version of Xerces, Xalan and FOP !!!

FROM THE DIRECTORY docs/examples/xslt
________
java -classpath 
%CLASSPATH%;.;%ORACLE_LIB%;c:/java/fop-0_16_0/fop.jar;c:/java/fop-0_16_0/lib/w3c.jar;c:/java/fop-0_16_0/fop.jar;C:\Java\xerces1_2_3\xerces.jar;C:\Java\xalan2_D07\build\xalan.jar;C:\Java\xalan2_D07\bin\bsf.jar;c:\java\fop-0_16_0\lib\w3c.jar;C:\Java\oracle\xmlschema\lib\xschema.jar;C:\Java\oracle\xmlclassgen\lib\classgen.jar; 
org.apache.fop.apps.XalanCommandLine leo.xml leo.xsl leo.pdf

ERROR
________
FOP 0.16.0 DEV
using SAX parser org.apache.xerces.parsers.SAXParser
transforming to xsl:fo markup
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/xalan/xslt/XSLTProcessorFactory
________


FROM THE DIRECTORY docs/xml-docs/
java.exe -Dant.home=%ANT_HOME% -classpath 
%LOCALCLASSPATH%;%CLASSPATH%;c:/java/fop-0_16_0/lib/xml.jar;c:/java/fop-0_16_0/fop.jar;c:/java/fop-0_16_0/lib/w3c.jar;C:\Java\xerces1_2_3\xerces.jar;C:\Java\xalan2_D07\build\xalan.jar;C:\Java\xalan2_D07\bin\bsf.jar; 
org.apache.tools.ant.Main %1 %2 %3 %4 %5


ERROR
________
Instead while I am trying to execute
No JAXP compliant XML parser found. See http://java.sun.com/xml for the
reference implementation.
java.lang.NoClassDefFoundError: org/apache/xalan/xpath/xml/XMLParserLiaison
________

Which jar files contains this org/apache/xalan/xpath and 
org/apache/xalan/xslt PACKAGES????
The only class I have is 'org.apache.xalan.xslt.Process'

Any tips,
Thks a lot in advance
Leonardo


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


Re: Xalan/XPath e Xalan/xslt

Posted by Frank Griffin <ft...@ntplx.net>.
After 0.16 was packaged, FOP was changed to use Xalan2.  0.16 used Xalan1, and will not build with Xalan2.  As you have found, the ParserLiasion classes no longer exist in Xalan2.

You need to either download Xalan1, or else get the FOP sources from CVS and build them with Xalan2.


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