Solved

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

Posted on 2002-03-21
4
703 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now