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 2004/02/19 10:15:59 UTC
DO NOT REPLY [Bug 27068] New: -
XALAN fails using the document() function to open XML file with external DTD header offline
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=27068>.
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=27068
XALAN fails using the document() function to open XML file with external DTD header offline
Summary: XALAN fails using the document() function to open XML
file with external DTD header offline
Product: XalanJ2
Version: 2.5
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Enhancement
Priority: Other
Component: org.apache.xalan
AssignedTo: xalan-dev@xml.apache.org
ReportedBy: florian.saller@web.de
I am using XALAN packages 2.4.1, 2.5.1 and 2.5.2 and all produce the same
errors, if I use the document() function to open an XHTML file with an external
DTD.
I have recognized, that the company I am developing the framework for
uses a Proxy server. XALAN does not use the settings entered in
the LAN settings of the Internet Explorer's LAN settings. So it cannot follow
the URI defined in the DTD header (connection time out):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
In this case, the entity must (should) not be opened by XALAN. It is only a XML
definition, but as far as I know, this information is not used for XML
transformation (that's what XALAN is used for). In my scenarios, the source XML
file has not to be validated against the Doctype definition. But I can't get
XALAN run, because my company uses a Proxy server for internet connection. If
opening such external entities could be optional in XALAN, I could use it
without deleting the DTD header in my sources.