Parent Directory
|
Revision Log
|
Patch
| revision 1.145 by wakaba, Sat May 24 11:57:47 2008 UTC | revision 1.194 by wakaba, Sat Oct 4 05:53:45 2008 UTC | |
|---|---|---|
| # | Line 3 use strict; | Line 3 use strict; |
| 3 | our $VERSION=do{my @r=(q$Revision$=~/\d+/g);sprintf "%d."."%02d" x $#r,@r}; | our $VERSION=do{my @r=(q$Revision$=~/\d+/g);sprintf "%d."."%02d" x $#r,@r}; |
| 4 | use Error qw(:try); | use Error qw(:try); |
| 5 | ||
| 6 | ## NOTE: This module don't check all HTML5 parse errors; character | |
| 7 | ## encoding related parse errors are expected to be handled by relevant | |
| 8 | ## modules. | |
| 9 | ## Parse errors for control characters that are not allowed in HTML5 | |
| 10 | ## documents, for surrogate code points, and for noncharacter code | |
| 11 | ## points, as well as U+FFFD substitions for characters whose code points | |
| 12 | ## is higher than U+10FFFF may be detected by combining the parser with | |
| 13 | ## the checker implemented by Whatpm::Charset::UnicodeChecker (for its | |
| 14 | ## usage example, see |t/HTML-tree.t| in the Whatpm package or the | |
| 15 | ## WebHACC::Language::HTML module in the WebHACC package). | |
| 16 | ||
| 17 | ## ISSUE: | ## ISSUE: |
| 18 | ## var doc = implementation.createDocument (null, null, null); | ## var doc = implementation.createDocument (null, null, null); |
| 19 | ## doc.write (''); | ## doc.write (''); |
| # | Line |