|
Hi,
I changed from
version Xalan 2.2 to Xalan 2.4.0.
When
transforming a xml file that gave no problems in previous version, I now get
this error:
javax.xml.transform.TransformerException:
java.net.MalformedURLException: no protocol: test.dtd
void org.apache.xalan.transformer.TransformerIdentityImpl.transform(javax.xml.transform.Source, javax.xml.transform.Result) ...
The xml file is defined like this:
<?xml version="1.0" encoding="ISO-8859-1"
standalone="no"?>
<!DOCTYPE documents SYSTEM "test.dtd"> <documents> <document file="output\saved_as_ansi_with_encoding_iso-8859-1.pdf"> <content> <p font-type="type1" font-name="helvetica" font-style="italic" font-size="36pt"> Bonjour le monde, comment �a va </p> <p font-type="type1" font-name="helvetica" font-style="italic" font-size="36pt"> Plut�t cool, non ? </p> </content> </document> </documents> Other xml files using the same test.dtd give no
problems. The test.dtd is in the same directory as the xml
files.
Regards,
Stefan
|
