xsl-list
[Top] [All Lists]

Re: [xsl] "Heap" of trouble handling input file of 500 MByte

2011-03-16 10:42:39
Might need to set the build path : open project properties (from right
click in Eclipse), choose Java Build Path and add your saxon library
(add external jar and browse for it)



On Tue, Mar 15, 2011 at 8:07 PM, <thehulk(_at_)comcast(_dot_)net> wrote:

I substituted that one line in my program (as line 172) :

       TransformerFactory transFact = new 
net.sf.saxon.TransformerFactoryImpl();
instead of

       javax.xml.transform.TransformerFactory transFact = 
javax.xml.transform.TransformerFactory.newInstance();
in Eclipse 3.61, but the compiler complains:

 Description                             Resource                 Path       
                  Location        Type
 net cannot be resolved to a type        Executor.java           
 /Middleware/src/Middleware      line 172    Java Problem
 TransformerFactory cannot be resolved to a type Executor.java   
 /Middleware/src/Middleware      line 172    Java Problem

This persisted even after I downloaded Saxon 9.3, unzipped, and placed 
saxon9he.jar into the C:\Program Files\Java\jre6\lib, and quit Eclipse and 
reopened. The lib folder is in the classpath according to the Project 
Properties.

Importing the same
    import net.sf.saxon.*
just produced a similar error on the import.

I am (obviously) not very experienced with Java and Eclipse. Help!

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>