Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Symbol not found .. Transformer, Streamsource......

Status
Not open for further replies.

mac2

IS-IT--Management
Jan 15, 2003
1
US
Hi all!!

I've downloaded xalan processor from apahe web-site. In the
xalan\samples\SimpleTransform directory, there is a jave file SimpleTransform.java. Tthis is a test file. I tried executing it but ended up with many errors. It says,
cannot resolve symbol and points to class names (TransformerFactory, Transformer, StreamSource etc..) in all the import statements given below. I am doing it on MS DOS. The classpath is perfectly set.

Could anybody explain me why this is happening? Your hep will be greatly appreciated. If you think I've downloaded an incorrect version of xalan, please suggest me the latest version.

import javax.xml.transform.TransformerFactory;
import javax.xml.transform.Transformer;
import javax.xml.transform.stream.StreamSource;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.TransformerException;
import javax.xml.transform.TransformerConfigurationException;


Thanks!
 
Hi,

I don't know what is wrong but I do know xalan doesn't like:

- comments
- html entities like & lt; (the space is so it shows here)
- unicode characters

Do you have to use xalan??

I know not everybody likes MS, but in this case their parser is lightyears ahead of the apache parser...

Jordi Reineman
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top