[xml] HTML vs html in DOCTYPE



Hi

I just realized, that libxml2-2.6.0 outputs

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd";>

with the html outpt, while 2.5.6 did:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd";>

(HTML vs html)

What's the reason for changing this? The lowercase isn't invalid per se
but http://www.w3.org/QA/2002/04/valid-dtd-list.html and http://www.w3.org/TR/html401/sgml/dtd.html recommend using the Upper-Case version.

Personally, I don't mind which version is used, just one of our test failed due to this issue and I'm wondering now, why this was changed or if it's even a bug ;)

chregu




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]