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=3244 *** shadow/3244 Thu Aug 23 01:05:40 2001 --- shadow/3244.tmp.25669 Thu Aug 23 01:05:40 2001 *************** *** 0 **** --- 1,57 ---- + +============================================================================+ + | Validation doesn't work with testXSLT. | + +----------------------------------------------------------------------------+ + | Bug #: 3244 Product: XalanC | + | Status: NEW Version: 1.2.x | + | Resolution: Platform: PC | + | Severity: Normal OS/Version: Windows 9x | + | Priority: Other Component: XalanC | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + If running + + testXSLT -VALIDATE -IN foo.xml + + on the following files, there should be an error since the element <other> has + not been defined in the DTD. + + Here are the files. + + foo.dtd + ------- + + <!ELEMENT root EMPTY> + + + foo.xsl + -------- + + <xsl:stylesheet version="1.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + + <xsl:template match="/"> + <html> + <body> + <xsl:apply-templates/> + </body> + </html> + </xsl:template> + + </xsl:stylesheet> + + foo.xml + -------- + + <?xml version="1.0"?> + <?xml-stylesheet href="foo.xsl" type="text/xsl"?> + <!DOCTYPE root SYSTEM "foo.dtd"> + + <root> + <other /> + </root>
