Tag
Hash :
0161e638
Author :
Date :
2008-08-28T15:36:32
completely different fix for the recursion detection based on entity * parser.c include/libxml/parser.h: completely different fix for the recursion detection based on entity density, big cleanups in the entity parsing code too * result/*.sax*: the parser should not ask for used defined versions of the predefined entities * testrecurse.c: automatic test for entity recursion checks * Makefile.am: added testrecurse * test/recurse/lol* test/recurse/good*: a first set of tests for the recursion Daniel svn path=/trunk/; revision=3783
<!ELEMENT billion (#PCDATA)>
<!ENTITY % laugh0 "<!-- Ha ! -->">
<!ENTITY % laugh1 "%laugh0;%laugh0;">
<!ENTITY % laugh2 "%laugh1;%laugh1;">
<!ENTITY % laugh3 "%laugh2;%laugh2;">
<!ENTITY % laugh4 "%laugh3;%laugh3;">
<!ENTITY % laugh5 "%laugh4;%laugh4;">
<!ENTITY % laugh6 "%laugh5;%laugh5;">
<!ENTITY % laugh7 "%laugh6;%laugh6;">
<!ENTITY % laugh8 "%laugh7;%laugh7;">
<!ENTITY % laugh9 "%laugh8;%laugh8;">
<!ENTITY % laugh10 "%laugh9;%laugh9;">
<!ENTITY % laugh11
"%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;%laugh10;">
<!ENTITY % laugh12
"%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;%laugh11;">
<!ENTITY % laugh13
"%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;%laugh12;">
%laugh13;