Project

Profile

Help

Revision 6e3ac457

Added by Michael Kay about 15 years ago

Fix bug 1615698: format="{'literal'}" Fix bug 1615698

View differences:

latest8.8/bj/net/sf/saxon/style/XSLResultDocument.java
133 133
            formatExpression = makeAttributeValueTemplate(formatAttribute);
134 134
            if (formatExpression instanceof StringValue) {
135 135
                try {
136
                    format = makeNameCode(formatAttribute.trim()) & NamePool.FP_MASK;
136
                    format = makeNameCode(((StringValue)formatExpression).getStringValue().trim()) & NamePool.FP_MASK;
137 137
                } catch (NamespaceException err) {
138 138
                    compileError(err.getMessage(), "XTSE0280");
139 139
                } catch (XPathException err) {

Also available in: Unified diff