Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Strange Exception using XSLT from NetBeans

Thread Tools

Strange Exception using XSLT from NetBeans

Posts: n/a
Hi all,

I have a strange problem in transforming an XML file in an HTML file
using XSLT form a Java program written with NetBeans.

I utilize the javax.xml.transform class and in the computer where I
wrote the program all function perfectly, calling the input XML file,
the XSLT stylesheets and setting where to write the output HTML.

In the deploy computer this doesn't work|

The error the program has when the i set the path of the stylesheets
is the following:

"javax.xml.transform.TransformerConfigurationExcep tion: no more input"

as the program could not read from the File System.

I utilize NetBeans as editor and the strange fact is the if I set all
the files (XML, XSLT and output HTML) in a directory into the NetBeans
path, (C:\Programmi\NetBeans) there is no error and everthing goes
well. But if only one of this files is in another directory I have
always the "EOFException: no more input".
Naturally I need these file to be in the folder I want, which is a
subdirectory of \Apache\htdoc\ in the other hard disk (D (because
these file have to be published on the web).

Surely there is some parameter to set, but I can't understand what is
the problem

Thank you
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
while executing my client program i get the exception javax.naming.LinkException: [Root exception is javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: remaining if plz anybody know how to solve this problem then mahesh Java 0 03-08-2007 12:26 PM
Eclipse vs. Netbeans. Netbeans is winning me over almost at first glance. Thomas G. Marshall Java 2 10-16-2006 02:54 AM
[NETBEANS] [EVALUATION] - E12 - The NetBeans Open Source Lie Ilias Lazaridis Java 0 12-12-2004 02:41 PM
Building a GUI using NetBeans platform (not Netbeans IDE !) Pimousse Java 2 04-21-2004 07:22 AM
Strange Exception Using XSLT with NetBeans Federico XML 0 10-22-2003 08:19 AM