You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Jean-Daniel Fekete <Je...@emn.fr> on 2000/10/24 11:35:39 UTC

Bug transforming TEI Lite documents using the DTD

I tried to use Xalan-C instead of XT for translating TEI Lite documents
from XML to HTML and stumbled on a bug (I think).

Here is the message I receive:
$ TestXSLT.exe -TT -HTML -XSL ../diplo-xt.xsl -IN test.xml -OUT
../foo.html
========= Parsing ../diplo-xt.xsl ==========
Parse of ../diplo-xt.xsl took 50 milliseconds
========= Parsing test.xml ==========

Fatal Error at (file teixlite.dtd, line 29, char25): An exception
occured! Type:
IllegalArgumentException, Message:String pool id was not legal
XSL Error: Could not parse test.xml document!

XSLException Type is : XSLTProcessorException
Message is : Could not parse test.xml document!

Now, here is the test.xml document:
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE TEI.2 SYSTEM "teixlite.dtd">

The teixlite dtd can be loaded at
http://www.uic.edu/orgs/tei/lite/teixlite.dtd

When I remove the DOCTYPE, everything works fine.

-- 
  Jean-Daniel Fekete
  Ecole des Mines de Nantes, 4 rue Alfred Kastler, La Chantrerie,
  BP 20722, 44307 Nantes Cedex 03, France
  Voice: +33-2-51-85-82-08  | Fax: +33-2-51-85-82-49
  Jean-Daniel.Fekete@emn.fr | http://www.emn.fr/fekete/