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 2002/04/16 22:10:52 UTC

DO NOT REPLY [Bug 8175] New: - Attempt copy-of on very deep tree; output truncated

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=8175>.
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=8175

Attempt copy-of on very deep tree; output truncated

           Summary: Attempt copy-of on very deep tree; output truncated
           Product: XalanJ2
           Version: 2.3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Xalan
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: David_Marston@lotus.com


Try a very simple copy-of template on a tree of nested elements. The copy-of
works on 1000-deep nesting (like perf\xtestdata\elem1kdeep) but not on
10,000-deep (like perf\xtestdata\elem10kdeep). Low severity assuming that most
people don't have XML that deeply nested. On my test system, it stopped output
in the middle of a tag ("<e3658><"), so it appears to be a serialization issue.
Note egregious ill-formed-ness of output--we at least need error detection.
(This was for UTF-8 encoding. YMMV.)

Typical template:
<xsl:template match="doc">
  <out>
    <xsl:copy-of select="*"/>
  </out>
</xsl:template>