HTML5 doctype name should be lower case #149

josteinaj opened this Issue Apr 24, 2014 · 3 comments


None yet
3 participants

josteinaj commented Apr 24, 2014

Reproduce with this:

<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="" version="1.0">

    <p:store href="file:/tmp/tmp.xml" method="html" version="5.0">
        <p:input port="source">
            <p:inline exclude-inline-prefixes="#all">
                <html xmlns=""/>


The doctype in the output is <!DOCTYPE HTML>. It should be <!DOCTYPE html>.


rdeltour commented Apr 25, 2014

As replied in the saxon-help list, this is not strictly-speaking a bug: the HTML5 doctype is case-insensitive


ndw commented May 6, 2014

Ultimately, the serialization is performed by Saxon so I'm going to close this without prejudice.

ndw closed this May 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment