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/04/12 00:17:17 UTC

DO NOT REPLY [Bug 28341] New: - EntityResolver not passed to subsequent parsers

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28341>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28341

EntityResolver not passed to subsequent parsers

           Summary: EntityResolver not passed to subsequent parsers
           Product: XalanJ2
           Version: 2.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Xalan-CmdLine
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: claude@xenei.org


The bug only lists version 2.5 but it is duplicated under version 2.6 as well.  

Transform fails under the following conditions:

1) An entity resolver is specified with -EntityResolver command line parameter;
2) The XSL performs an <xsl:variable name="foo" select="document(bar.xml)" /> ;
3) bar.xml has a document type that is only resolvable vai the EntityResolver 

The transform fails with a "can not load requested doc: <dtd-name-here> not
found in bar.xml

It appears that this may be a result of the DTMDefaultManater.getDTM()
implementation.  See the comments for that method.

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