D.gnu - [patch] HTML parsing for gdc-0.8
- Thomas Kuehne (177/177) Nov 17 2004 Attached is a diff against gdc-0.8, it fixes:
- Thomas Kuehne (8/19) Nov 18 2004 An extentsion to the old patch:
Attached is a diff against gdc-0.8, it fixes: 1) HTML tag case sensitivity 2) Mac line ending (HTML only) 3) named HTML entities 4) numeric HTML entities 5) allowed codepoint range for HTML It incorporates Anders F Bjoerklund's "tag space" fix. md5sum: 066ff5112908253f02bc7bc0f2f61b2f gdc-0.8-html.diff.gz Thomas begin 600 gdc-0.8-html.diff.gz M'XL("'' FT$"`V=D8RTP+C M:'1M;"YD:69F`-R;6V_<1K+'GQ7`WX'KA[7E MD6*2<W><('/A6(X=RX O#R=[<$!Q>F88<<A)DR-9F_5WWR:[_M75M [.(L`! M/WS6'WT;1^$X#B M4\&+Y2+(JOTA+Y3^]L$WP8-.YN=JG6]RM0ZN[H)E>I.O Y4V/^[3\BQXIPZ- MVE\I';1S>/!-[POY][MJG];!JZ/:E>HL>%/=2.G R5,[RM,GP<7[GU\'AU37 M2C_H)CN9GD51T)N&9LXTV^`/(WM2F_EFN^#QD\-I^Z-AYR?M+[.T5L&CAX^> M\/WWP:._/`K^^M? \&ML?SRG'_OXL9O.R1^FDZ=/ T6UWZNRJ8.Z275C;?S\ M+^?G5KDHC,TB]*:35L=6NY.3SUUK59CAVU'=L$^[<7+3S[;KZW$[ ]/3X!__ MZ%J<^+^*S*_,.IR<=+;J5&H5?Y]:K<TO/K=C_-']\^30ZQ'LI(5!`L\ X3.: M=S0ZB\:M#XW.8LR\E<K+)LC0S+8+O ^R7:H3TV5S!Y.WO[DZ;LY_N-5YH^9W MC7J<G7YW<F(L-O_PXEEPVS;I9N1+?GB_FK22#WQ3 ML79IN2Y4L+Q\%YA_!3_/%D&1ERI0Y=KX1]V)Y9O'3QX?>M'I]]\_^EOYZ/1> MDXGN2_(9TU%YW&,^9K!9<9O>U8'ZU. T:X)2W7:#U6=!79E]ES;!,BC4)[,M MO5']+KA56 6W.S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3%!4)J0P05&`G(9`&8PD<`04-9^,I*A9.*=%RSV$:`HJ M;^ZA[K=PNU`& RC<D^.:9[%U!:<R<;LHC*$.X$9/&2QQP7E#W$,*N469^U(A MMZC&$;M6<!LDQP1._ ,^F>27O/,?= /!:[0WH*S1WLV7[ TM>R.`21UF;GQM M&=*^(D;%#R M.QG4=W):'+??`R=\\<$>/`]>%N[9'%*BT=$<4 (^W_)9_*"2=!8+^&R60W;= M.Y1M\\+1F*%LL),!9=.^\.T7\9"3`2>09,,RA"0;% %?N/P>P9R3`<4(G`RW MCRS'B]FT`I[,IH4D._6P(2=VZNN(1,TG]R7^_+D5=6HFN7,F )RNDJPB2]RL MTV,TJ^AC\V261FF2U8R3(OJPV=6\Z!5Y;:OBNLM\FM^$OZ_R?'O3;N_W^XM] MQ8I`^U,)W=Q43'9S8<WVZRQ9KMU<"&6WK5HN=>MEOOI#V M<G9&5+4U<>']IN%P+%T!5PXQ3PI7,\>7#CH("L&O:U[6BCX(-6ZIBJBAS+KU $W%\````` ` end begin 600 gdc-0.8-html.diff.gz.asc M+2TM+2U"14=)3B!01U` 4TE'3D%455)%+2TM+2T*5F5R<VEO;CH 1VYU4$< M=C$N.2XY("A'3E4O3&EN=7 I" II1#A$0E%"0FTK5BLS=RLO>40T4#ET25)! )55)%+2TM+2T* ` end
Nov 17 2004
An extentsion to the old patch: 6) fixed error message for named entities 7) speed up for named entity lookup (not the fastest solution, but working...) 8) resolves http://svn.kuehne.cn/dstress/run/xhtml_tag_01.html md5sum: 53f22834a78583b409dc4f86f13709e gdc-0.8-html2.diff.gz Thomas Thomas Kuehne schrieb am Donnerstag, 18. November 2004 01:10:Attached is a diff against gdc-0.8, it fixes: 1) HTML tag case sensitivity 2) Mac line ending (HTML only) 3) named HTML entities 4) numeric HTML entities 5) allowed codepoint range for HTML It incorporates Anders F Bjoerklund's "tag space" fix. md5sum: 066ff5112908253f02bc7bc0f2f61b2f gdc-0.8-html.diff.gz
Nov 18 2004