You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "davide.bz (JIRA)" <xa...@xml.apache.org> on 2006/10/13 18:44:35 UTC

[jira] Commented: (XALANJ-1798) XALAN fails using the document() function to open XML file with external DTD header offline

    [ http://issues.apache.org/jira/browse/XALANJ-1798?page=comments#action_12442068 ] 
            
davide.bz commented on XALANJ-1798:
-----------------------------------

This problem tired my too!

I simply like to transform an xml without question about entity and dtd. Most time there are intranet server and I don't like to download each time the dtd from internet (even using a proxy).

Why not to make an option, like for validation, that disable dtd
and entity resolv?

This library is great, i use xsl for code generation obtaining high
coding rate like industry production!!



> XALAN fails using the document() function to open XML file with external DTD header offline
> -------------------------------------------------------------------------------------------
>
>                 Key: XALANJ-1798
>                 URL: http://issues.apache.org/jira/browse/XALANJ-1798
>             Project: XalanJ2
>          Issue Type: New Feature
>          Components: transformation, Xalan-interpretive
>    Affects Versions: 2.5
>         Environment: Operating System: Windows NT/2K
> Platform: PC
>            Reporter: Florian Saller
>         Attachments: QMProcess.xhtml, QMProcess.xml, QMProcess.xslt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org