Solved

XSLT transformation error: SystemId Unknown; Line 0; Column 0;

Posted on 2002-03-21
4
757 Views
Last Modified: 2012-06-21
I am getting this error message when I try to perform my XSLT transformation on the Webserver. The error log displays this message:

SystemId Unknown; Line 0; Column 0;

Do you know what this means. It is not very descriptive either. Please let me know if you have any ideas.

0
Comment
Question by:gvijay1
  • 2
4 Comments
 
LVL 23

Expert Comment

by:b1xml2
ID: 6887390
would be nice to know, what parser, what web server, what operating system and what language being used.
0
 

Author Comment

by:gvijay1
ID: 6888938
I am using lotusxsl 2.2 and using xalan and xerces. The transformation is being done within a servlet on Webserver 4.0.

These are the servlet calls to the XSLT processor.

XSLTProcessor processor = XSLTProcessorFactory.getProcessor();
processor.process(new XSLTInputSource(new StringReader(buf.toString())),
                                     new XSLTInputSource(XSL_FILE_LOCATION + "/" + requestFile + "." + XSL_FILE_EXTENSION),
                                     new XSLTResultTarget(aclsRequestWriter));

The servlet compiles file but throws a SAX exception when I run it with my XSL spreadsheet.
0
 
LVL 6

Accepted Solution

by:
wbradney earned 50 total points
ID: 6897015
gvijay,

This error usually results when there's and incomaptibility between Xalan and Xerces. What versions are you using? Check your CLASSPATH carefully to make sure you're picking up the .jar files you think you're picking up. This is especially important in a servlet environment, because many application servers/servlet runners include XML parsers in their distributions -- some use Xerces, and you could be picking up an older version without realising it.

Regards,
WMB
0
 

Author Comment

by:gvijay1
ID: 6897960
I think u are right about that. I was using incompatible xalan and xerces jar files. Plus with WS 4.0, it now loads it's own XML parser and that might have been the cause of some of the problem.

Anyhow, I just got away from using LotusXSL and used Xalan instead and it seems to work fine now. The servlet calls to the XSLT processor are different too.

Thanks.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question