I'm using Xalan (_j 2.0.1) to transform ejb-jar.xml into a set of HTML pages.
The template we have for ejb-jar.xml includes the line:
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN' 'http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd
Xalan throws this out as follows:
XSL Error: Could not parse file:C:/ghstemp/ejb-jar.xml document!
Xalan: was not successful.
Any ideas why this occurs and how one can avoid it (apart from the current solution of hand-editing the file before translating!)?