http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2098 *** shadow/2098 Sun Jun 10 09:17:04 2001 --- shadow/2098.tmp.23743 Sun Jun 10 11:12:44 2001 *************** *** 2,9 **** | document() doesn't work in standalone stylesheets | +----------------------------------------------------------------------------+ | Bug #: 2098 Product: XalanJ2 | ! | Status: NEW Version: 2.0.x | ! | Resolution: Platform: All | | Severity: Major OS/Version: Other | | Priority: Other Component: Xalan | +----------------------------------------------------------------------------+ --- 2,9 ---- | document() doesn't work in standalone stylesheets | +----------------------------------------------------------------------------+ | Bug #: 2098 Product: XalanJ2 | ! | Status: RESOLVED Version: 2.0.x | ! | Resolution: FIXED Platform: All | | Severity: Major OS/Version: Other | | Priority: Other Component: Xalan | +----------------------------------------------------------------------------+ *************** *** 25,27 **** --- 25,32 ---- <?xml version="1.0"?><xsl:stylesheet id="me" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="dummy"> <foo>Foo: <xsl:copy-of select="document('testForm.xml')"/></foo> </xsl:template></xsl:stylesheet> Occurs with Xalan 2.1.0. Tested on Mac OS X only. Encountered 6/10/01. + + ------- Additional Comments From [EMAIL PROTECTED] 2001-06-10 11:12 ------- + Committed StylesheetHandler, revision 1.40 which solves this problem. The + routine checkForFragmentID was checking for an attribute of type "ID" instead + of the "id" attribute. \ No newline at end of file