Bug?: xml-stylesheet with wrong mime type
Replies (1)
Please register to reply
Added by Anonymous about 18 years ago
Legacy ID: #3917639 Legacy Poster: Torsten Knodt (torsknod)
Hello, I was wondering why <?xml-stylesheet type="application/xslt+xml" alternate="no" href="RDFSupportTest.xsl"?> raised a TransformerConfigurationException when calling TransformerFactory.getAssociatedStylesheet. A quick look into the source showed the problem in the PIGrabber. The check there is for "application.xslt+xml", not for "application/xslt+xml" which is IMHO a bug. Regards Torsten
Legacy ID: #3917823 Legacy Poster: Michael Kay (mhkay)
Thanks for identifying this bug, which must have been in the product for years! I'll raise a bug entry and put the patch in Subversion.
Please register to reply