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: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] >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.
