The only issue is it not being XHTML compliant, since NAME is not a
valid attribute in PRE as of XHTML 1.0.
Use the CODE tag, or use "code" as an additional class attribute
value, would suffice to identify the code blocks to be formatted, in a
valid HTML and XHTML strict syntax.
This topic was already covered by Ernest in the following post, and I
endorse his words entirely: