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/12/11 00:06:49 UTC

DO NOT REPLY [Bug 15254] New: - for-each on union of different document()s causes AIOOBE

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

for-each on union of different document()s causes AIOOBE

           Summary: for-each on union of different document()s causes AIOOBE
           Product: XalanJ2
           Version: CurrentCVS
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Xalan
        AssignedTo: grchiu@ca.ibm.com
        ReportedBy: grchiu@ca.ibm.com
                CC: xalan-dev@xml.apache.org


Iterating over a union of different document()s (and the main source document) 
with for-each causes an AIOOBE.

Example, using idkey49.xml file:

<xsl:for-each select="document(../a)//node()|following::node()">
  <xsl:value-of select="."/>
</xsl:for-each>

Looks like the correct value of docID is not being kept in 
ElemForEach.transformSelectedNodes().