You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Kenneth Fogel (Jira)" <ji...@apache.org> on 2020/02/18 16:50:00 UTC

[jira] [Created] (NETBEANS-3895) DOCTYPE for html and xhtml files should be revised to current standards.

Kenneth Fogel created NETBEANS-3895:
---------------------------------------

             Summary: DOCTYPE for html and xhtml files should be revised to current standards.
                 Key: NETBEANS-3895
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3895
             Project: NetBeans
          Issue Type: New Feature
    Affects Versions: 11.2
            Reporter: Kenneth Fogel
             Fix For: Next


The DOCTYPE at the beginning for html and xhtml files should just be the HTML5 version:

<!DOCTYPE html>

All the DTD stuff and other items are obsolete.

In addition the line

<?xml version="1.0" encoding="UTF-8"?>

is also obsolete unless the encoding needs to be changed. I'd prefer to have it removed from every xml file. This is likely a contentious suggestion but I dislike having declarations or code that no longer serves a purpose.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists