You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2001/11/13 21:34:31 UTC
DO NOT REPLY [Bug 4848] New: -
ENTITYRESOLVER doesn't work with DTD's
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4848>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4848
ENTITYRESOLVER doesn't work with DTD's
Summary: ENTITYRESOLVER doesn't work with DTD's
Product: XalanJ2
Version: 2.2.x
Platform: Other
URL: http://nersp.nerdc.ufl.edu/~sandymac/xalan/
OS/Version: AIX
Status: UNCONFIRMED
Severity: Normal
Priority: Other
Component: javax.xml
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: sandymac@ufl.edu
>From what I read in the org.xml.sax.EntityResolver api docs I should be able to
use -ENTITYRESOLVER to resolve where to find the DTD. The problem seems that the
resolveEntity(String, String); method is never called or not called soon enough.
I have some test files available at http://nersp.nerdc.ufl.edu/~sandymac/xalan/
and here is the output:
=======================cut==============
$ java org.apache.xalan.xslt.Process -IN a.xml -ENTITYRESOLVER a
EntityResolver contructor
file:///u/sandymac/public_html/xalan/a.xml; Line 0; Column 0; XSLT Error
(javax.xml.transform.TransformerConfigurationException):
getAssociatedStylesheets failed
=======================cut==============There should be output from from the
resolveEntity method.