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


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.

Reply via email to