You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Daryl Beattie <Da...@screamingmedia.com> on 2001/02/14 23:24:18 UTC

RE: Errors to stderr/out AND no output at all AND meta-da ta not allowed

See below.

> -----Original Message-----
> From: Gary L Peskin [mailto:garyp@firstech.com]
> Sent: Wednesday, February 14, 2001 5:05 PM
> To: xalan-dev@xml.apache.org
> Subject: Re: Errors to stderr/out AND no output at all AND 
> meta-data not
> allowed
> 
> 
> Daryl Beattie wrote:
> > 
> > Gary (and Xalan developers),
> > 
> >         Thanks for your reply! I tried out a number of 
> things; see my
> > comments below:
> > 
> 
> 1.  Can you add the "-edump" parameter to your command line?  
> This will
> produce a stack trace and allow us to see the origin of the error, I
> hope.

	How can I get this to work from within my program? Because I'm still
having trouble with the command line...

> 2.  Can you include the XML that goes along with this so that 
> I can try
> to reproduce the problem here?

	See attachment. I have sent the xsl sheet as well as the wrapper
sheet in previous posting, so I won't repost them to the list.

> 3.  The "No scheme found in URI" is probably due to a problem 
> with your
> command line arguments.  Can you include your exact command line?  Did
> you specify -IN followed by a URI (not a filename) like
> file:///c:/projects ...  Sometimes I set user.dir (with -Duser.dir) to
> specify the working directory for relative URI references.

	This is my batch file:

@ echo off
java -cp
SITEWare\thirdparty\lib\xalan.jar;SITEWare\thirdparty\lib\xerces.jar
org.apache.xalan.xslt.Process -IN
file:///c:\projects\siteware\files\test2.smml -XSL
file:///c:\projects\siteware\SITEWare\xslt\smml2javascript_scrm_ns_wrapper.x
sl -OUT  c:\projects\siteware\files\output\blah.js -edump
echo Output written to files\output.
pause

	When I run this, nothing happens. Processor usage jumps to 100%,
then down to 2%, where it flatlines... As you can see, the only relative
paths I have now are for the -cp option to Java. I did change my relative
paths to URIs as you suggested (I made them absolute while I was at it).
	Thanks again for all your help.

Sincerely,

	Daryl.


Re: Errors to stderr/out AND no output at all AND meta-data not allowed

Posted by Gary L Peskin <ga...@firstech.com>.
Daryl Beattie wrote:
> 
>         When I run this, nothing happens. Processor usage jumps to 100%,
> then down to 2%, where it flatlines... As you can see, the only relative
> paths I have now are for the -cp option to Java. I did change my relative
> paths to URIs as you suggested (I made them absolute while I was at it).

Daryl --

I'm able to reproduce the problem here.  I'll look into it and get back
to you.

Gary