Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jakartaee-examples-dev] Some general question

Hi,

 

I’d like your opinion on the following:

 

Is it time to get rid of this declaration that is the default and so now exists as just a decoration?

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

 

Similarly, shouldn’t this line:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

be shortened to just:

<!DOCTYPE html>

 

I know we don’t need a web.xml anymore and we can tell Maven to be happy without one but we should always have one, IMHO.

 

Why are there rarely comments in HTML/XHTML files?

 

Stay tuned for more musings, opinions, or demands.

 

Ken

 


Back to the top