Project

Profile

Help

Revision 6086a77d

Added by Michael Kay 6 months ago

Fix bug #4794

View differences:

latest10/hej/net/sf/saxon/lib/SaxonOutputKeys.java
47 47
     * String constant representing the saxon:xquery output method name
48 48
     */
49 49

  
50
    /*@NotNull*/ public static final String SAXON_XQUERY_METHOD = "{http://saxon.sf.net/}xquery";
50
    /*@NotNull*/ public static final String SAXON_XQUERY_METHOD = "Q{http://saxon.sf.net/}xquery";
51 51

  
52 52
    /**
53 53
     * String constant representing the saxon:base64Binary output method name
54 54
     */
55 55

  
56
    /*@NotNull*/ public static final String SAXON_BASE64_BINARY_METHOD = "{http://saxon.sf.net/}base64Binary";
56
    /*@NotNull*/ public static final String SAXON_BASE64_BINARY_METHOD = "Q{http://saxon.sf.net/}base64Binary";
57 57

  
58 58
    /**
59 59
     * String constant representing the saxon:hexBinary output method name
60 60
     */
61 61

  
62
    /*@NotNull*/ public static final String SAXON_HEX_BINARY_METHOD = "{http://saxon.sf.net/}hexBinary";
62
    /*@NotNull*/ public static final String SAXON_HEX_BINARY_METHOD = "Q{http://saxon.sf.net/}hexBinary";
63 63

  
64 64
    /**
65 65
     * String constant representing the saxon:xml-to-json output method name
66 66
     */
67 67

  
68
    /*@NotNull*/ public static final String SAXON_XML_TO_JSON_METHOD = "{http://saxon.sf.net/}xml-to-json";
68
    /*@NotNull*/ public static final String SAXON_XML_TO_JSON_METHOD = "Q{http://saxon.sf.net/}xml-to-json";
69 69

  
70 70
    /**
71 71
     * allow-duplicate-names = yes|no.
latest10/hej/net/sf/saxon/lib/SerializerFactory.java
306 306
                    return customizeAdaptiveSerializer(je, props, characterMapExpander, normalizer);
307 307
                }
308 308
                default: {
309
                    if (method.startsWith("{" + NamespaceConstant.SAXON + "}")) {
309
                    if (method.startsWith("Q{" + NamespaceConstant.SAXON + "}")) {
310 310
                        CharacterMapExpander characterMapExpander = makeCharacterMapExpander(pipe, props, charMapIndex);
311 311
                        ProxyReceiver normalizer = makeUnicodeNormalizer(pipe, props);
312 312
                        target = createSaxonSerializationMethod(

Also available in: Unified diff