Tags : html5
このTagsの登録数:2件 表示 : 1 - 2 / 2
2007-08-22
2007-08-18
Java による HTML 5 パーシングアルゴリズムの実装
The WHATWG Blog の Implementation of the HTML5 parsing algorithm in Java の翻訳です。
Java による HTML5 パーシングアルゴリズムの実装
今や Java 5 による HTML5 パーシングアルゴリズムのオープンソース実装が存在します。The Validator.nu HTML Parser です。XHTML 1.x コンテンツを読み込むために SAX または DOM、XOM API を使っているアプリケーションの XML パーサの暫定的な置き換えとして そのパーサを使うことができます。
訳者による蛇足
The Validator.nu HTML Parser の開発には Mozilla Foundation が資金提供したとのこと。
Sample Apps に載っている例を試して見たところ、ひどい (X)HTML でもそれなりにパースしてくれる (HTML5 パーシングに基づいているように感じられます。とはいえ Java に関しては門外漢なので誤解しているだけかもしれません。
著作権情報
The WHATWG Blog は MIT ライセンスで提供されています (著作権情報)。Copyright © 2006 The WHATWG Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The WHATWG Blog の Seeing the open issues の翻訳です。
未解決の問題を調べる
イアンヒクソン (Ian Hickson) は WHATWG と public-html メーリングリストで、彼が書いた未解決の問題リストを公開するツールをアナウンスしました:
著作権情報
The WHATWG Blog は MIT ライセンスで提供されています (著作権情報)。Copyright © 2006 The WHATWG Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.