turning off the XSLT 1.0 warning message
Replies (1)
Please register to reply
Added by Anonymous almost 16 years ago
Legacy ID: #6496571 Legacy Poster: Mark Hansen (markhansen)
When I use Saxon with a XSLT 1.0 stylesheet, I get these warnings: "Warning: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor" Is it possible to turn these off? -- Mark
Legacy ID: #6499375 Legacy Poster: Michael Kay (mhkay)
Yes. Despite the fact that the XSLT 2.0 specification requires a conformant processor to output this message, Saxon does provide a way to switch it off. From the command line, -versmsg:off From the API, use config.setVersionWarning(false), or transformerFactory.setAttribute(FeatureKeys.VERSION_WARNING, Boolean.FALSE)
Please register to reply