>[оверквотинг удален]
>
>хотя приемущества xhtml-вёрстки ОЧЕВИДНЫ, посравнению с text/html, своей строгостью и однозначностью .
>к примеру как должен весьти себя браузер встретив следущие инструкции (если
>мы имеем дело в с text/html) (???):
>
>...
><script type="text/javascript">
>window.alert("мама</script>мала<script>раму");
></script>
>... Должен закрыть тег "досрочно". Чтобы этого избежать следует банально заэскейпить закрывающий тег. Те, кто не верит, идут читать стандарт:
When script or style data is the content of an element (SCRIPT and STYLE), the data begins immediately after the element start tag and ends at the first ETAGO ("</") delimiter followed by a name start character ([a-zA-Z]); note that this may not be the element's end tag. Authors should therefore escape "</" within the content. Escape mechanisms are specific to each scripting or style sheet language.