Project

Profile

Help

Revision c2c1fd99

Added by Michael Kay about 14 years ago

F|ix bug 1815211 - XHTML output method with IdentityTransformer not writing meta tag.

View differences:

latest8.9/bj/net/sf/saxon/event/SerializerFactory.java
195 195
    protected Receiver createHTMLSerializer(
196 196
            Emitter emitter, Properties props, PipelineConfiguration pipe,
197 197
            CharacterMapExpander characterMapExpander, ProxyReceiver normalizer) throws XPathException {
198
        // Ensure that the XHTML namespace is registered in the NamePool. Without this, the meta-tag insertion can fail
199
        pipe.getConfiguration().getNamePool().allocateCodeForURI(NamespaceConstant.XHTML);
198 200
        Receiver target;
199 201
        target = emitter;
200 202
        if (!"no".equals(props.getProperty(OutputKeys.INDENT))) {

Also available in: Unified diff