How to pass --suppressXsltNamespaceCheck:on in scenario
Posted: Wed Oct 05, 2016 8:39 pm
Hi there,
I have a transformation scenario which is stored as part of a Document Type in a project file, where non-specialist users will run it. This particular scenario triggers the common warning from Saxon:
SXXP0005: The source document is in namespace http://www.tei-c.org/ns/1.0, but none of the template rules match elements in this namespace (Use --suppressXsltNamespaceCheck:on to avoid this warning)
I've often counteracted this at the command line, or in ant tasks, using --suppressXsltNamespaceCheck:on, but I can't figure out how to pass this parameter successfully to an Oxygen-hosted transformation scenario. I've tried every configuration of name/value parameter I can think of, but nothing works. I'd really like to remove this distracting warning so users don't focus on it. What's the trick?
Cheers,
Martin
I have a transformation scenario which is stored as part of a Document Type in a project file, where non-specialist users will run it. This particular scenario triggers the common warning from Saxon:
SXXP0005: The source document is in namespace http://www.tei-c.org/ns/1.0, but none of the template rules match elements in this namespace (Use --suppressXsltNamespaceCheck:on to avoid this warning)
I've often counteracted this at the command line, or in ant tasks, using --suppressXsltNamespaceCheck:on, but I can't figure out how to pass this parameter successfully to an Oxygen-hosted transformation scenario. I've tried every configuration of name/value parameter I can think of, but nothing works. I'd really like to remove this distracting warning so users don't focus on it. What's the trick?
Cheers,
Martin