PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1780 *** shadow/1780 Sun May 20 17:27:35 2001 --- shadow/1780.tmp.3101 Wed Aug 8 05:06:06 2001 *************** *** 1,19 **** ! Bug#: 1780 ! Product: XalanJ2 ! Version: 2.0.1 ! Platform: Sun ! OS/Version: Solaris ! Status: NEW ! Resolution: ! Severity: Normal ! Priority: Medium ! Component: org.apache.xalan.xsltc ! AssignedTo: [EMAIL PROTECTED] ! ReportedBy: [EMAIL PROTECTED] ! URL: ! Cc: ! Summary: xsltc will compile xml (not xsl) doc without complaint ! Since simplified stylesheets were implemented, xsltc regressed in not detecting a problem when inadvertently handed an xml (not xsl) document to compile. While not serious, it makes it hard for users to detect when they have made a simple --- 1,19 ---- ! +============================================================================+ ! | xsltc will compile xml (not xsl) doc without complaint | ! +----------------------------------------------------------------------------+ ! | Bug #: 1780 Product: XalanJ2 | ! | Status: NEW Version: 2.0.1 | ! | Resolution: Platform: Sun | ! | Severity: Normal OS/Version: Solaris | ! | Priority: Medium Component: org.apache.xalan.xsltc | ! +----------------------------------------------------------------------------+ ! | Assigned To: [EMAIL PROTECTED] | ! | Reported By: [EMAIL PROTECTED] | ! | CC list: Cc: | ! +----------------------------------------------------------------------------+ ! | URL: | ! +============================================================================+ ! | DESCRIPTION | Since simplified stylesheets were implemented, xsltc regressed in not detecting a problem when inadvertently handed an xml (not xsl) document to compile. While not serious, it makes it hard for users to detect when they have made a simple *************** *** 24,26 **** --- 24,31 ---- <out> hi </out> + + ------- Additional Comments From [EMAIL PROTECTED] 2001-08-08 05:06 ------- + The most obvious fix to this bug would be to add a test in the stylesheet + parser to check if the outermost element in the input document contains the + XSLT namespace definition. \ No newline at end of file