SVGを埋め込む場合の注意
Seasideはデフォルトで
Content-Type: text/html; charset=utf-8
となるようだ。SeasideJではKomSeasideJ>>convertResponse: を変更して、
Content-Type: application/xhtml+xml; charset=utf-8
とか
Content-Type: text/xml; charset=utf-8
にする必要があるようだ。もっとスマートな方法があるかも?
[追記]
updateRoot: anHtmlRoot | attributes | attributes := WAHtmlAttributes new. attributes at: 'http-equiv' put: 'Content-Type'. attributes at: 'content' put: 'text/xml; charset=utf-8'. super updateRoot: anHtmlRoot. anHtmlRoot addHeadElement: (WAHtmlElement named: 'meta' attributes: attributes) notClosed.
を実装して、
<meta http-equiv=""Content-Type"" content=""text/xml; charset=utf-8"" />
とするもダメ。