Project

Profile

Help

Bug?: xml-stylesheet with wrong mime type

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


Replies (1)

RE: Bug?: xml-stylesheet with wrong mime type - Added by Anonymous about 18 years ago

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.

    (1-1/1)

    Please register to reply