Project

Profile

Help

Revision 3d394a31

Added by Michael Kay over 9 years ago

Fix bug 3439869 (saxon serialization parameters)

View differences:

latest9.3/hej/net/sf/saxon/trans/CommandLineOptions.java
542 542
            String value = serializationParams.getProperty(name);
543 543
            // parameters starting with "!" are taken as output properties
544 544
            // Allow the prefix "!saxon:" instead of "!{http://saxon.sf.net}"
545
            if (name.startsWith("!saxon:")) {
546
                name = "{" + NamespaceConstant.SAXON + "}" + name.substring(7);
545
            if (name.startsWith("saxon:")) {
546
                name = "{" + NamespaceConstant.SAXON + "}" + name.substring(6);
547 547
            }
548 548
            if (controller != null) {
549 549
                controller.setOutputProperty(name, value);

Also available in: Unified diff