Skip to content
Sections
>> Trisquel >> パッケージ >> etiona >> perl >> libhtml-html5-sanity-perl
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: libhtml-html5-sanity-perl  ]

パッケージ: libhtml-html5-sanity-perl (0.105-2)

make HTML5 DOM trees less insane

HTML::HTML5::Sanity is a Perl library tidying HTML::HTML5::Parser.

The Document Object Model (DOM) generated by HTML::HTML5::Parser meets the requirements of the HTML5 spec, but will probably catch a lot of people by surprise.

The main oddity is that elements and attributes which appear to be namespaced are not really. For example, the following element:

 <div xml:lang="fr">...</div>

Looks like it should be parsed so that it has an attribute "lang" in the XML namespace. Not so. It will really be parsed as having the attribute "xml:lang" in the null namespace.

その他の libhtml-html5-sanity-perl 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: libxml-libxml-perl
    Perl interface to the libxml2 library
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

libhtml-html5-sanity-perl のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 11.7 kB43 kB [ファイル一覧]