Skip to content

Text.XHtml version is out of date?

I tried some first experiments with the Text.XHtml library, and I found that it doesn't actually produce XHTML? Among potentially other things, the xmlns=.... attribute is not added to the html document element.

I've reviewed the source that I build GHC 6.6 from, and I can see the omission plainly. Nonetheless, ifif I look closely at the online sources in darcs, I can see that it would behave correctly. (The "good" version of Internals.hs in Text/XHtml has a mkHtml function.)

Resolution would be simply to distribute the correct version of the library.

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system MacOS X
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information