[ https://issues.apache.org/jira/browse/MYFACES-4475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17616662#comment-17616662 ]
Paul Nicolucci commented on MYFACES-4475: ----------------------------------------- Change is so trivial I'll just go ahead and make it. > TCK: Spec1568IT: test failure do to an exta space in DOCTYPE > ------------------------------------------------------------ > > Key: MYFACES-4475 > URL: https://issues.apache.org/jira/browse/MYFACES-4475 > Project: MyFaces Core > Issue Type: Bug > Components: General > Affects Versions: 4.0.0-RC1, 2.3-next-M7, 3.0.2 > Reporter: Paul Nicolucci > Assignee: Paul Nicolucci > Priority: Major > Fix For: 3.0.3, 2.3-next-M8, 4.0.0-RC2 > > > The following test fails with MyFaces: > [https://github.com/jakartaee/faces/blob/master/tck/faces40/doctype/src/test/java/ee/jakarta/tck/faces/test/servlet50/doctype/Spec1568IT.java] > {noformat} > org.junit.ComparisonFailure: Page is using HTML5 doctype expected:<<!DOCTYPE > html[]>> but was:<<!DOCTYPE html[ ]>> > org.junit.ComparisonFailure: Page is using XHTML4 transitional public doctype > expected:<...l1-transitional.dtd"[]>> but was:<...l1-transitional.dtd"[ ]>> > org.junit.ComparisonFailure: Page is using XHTML4 strict system doctype > expected:<...D/xhtml1-strict.dtd"[]>> but was:<...D/xhtml1-strict.dtd"[ ]>> > {noformat} > There is an extra space before the closing of DOCTYPE: > <!DOCTYPE HTML > vs <!DOCTYPE HTML> > This is due to the following line of code: > [https://github.com/apache/myfaces/blob/main/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/DoctypeInstruction.java#L68] -- This message was sent by Atlassian Jira (v8.20.10#820010)