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 2001/05/16 21:45:03 UTC

[Bug 1780] New - xsltc will compile xml (not xsl) doc without complaint

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1780

*** shadow/1780	Wed May 16 12:45:03 2001
--- shadow/1780.tmp.12144	Wed May 16 12:45:03 2001
***************
*** 0 ****
--- 1,26 ----
+ +============================================================================+
+ | 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: xalan-dev@xml.apache.org                                     |
+ |  Reported By: tamiro@east.sun.com                                          |
+ |      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 
+ mistake in giving filename.xml when they meant filename.xsl.
+ The following XML doc will be compiled without a peep.
+ 
+    <?xml version="1.0" ?>
+    <out>
+    hi
+    </out>