Impose a reasonable limit on attribute size

Unless the XML_PARSE_HUGE option is given to the parser,
the value is XML_MAX_TEXT_LENGTH, i.e. the same than for a
text node within content.
1 file changed
tree: 47fc33a4a541fcecbc25d77195009a4f3d87ba74
  1. bakefile/
  2. doc/
  3. example/
  4. include/
  5. macos/
  6. optim/
  7. python/
  8. result/
  9. test/
  10. vms/
  11. VxWorks/
  12. win32/
  13. xstc/
  14. .cvsignore
  15. .gitignore
  16. acinclude.m4
  17. AUTHORS
  18. autogen.sh
  19. buf.c
  20. buf.h
  21. build_glob.py
  22. c14n.c
  23. catalog.c
  24. ChangeLog
  25. check-relaxng-test-suite.py
  26. check-relaxng-test-suite2.py
  27. check-xinclude-test-suite.py
  28. check-xml-test-suite.py
  29. check-xsddata-test-suite.py
  30. chvalid.c
  31. chvalid.def
  32. configure.in
  33. Copyright
  34. dbgen.pl
  35. dbgenattr.pl
  36. debugXML.c
  37. dict.c
  38. DOCBparser.c
  39. elfgcchack.h
  40. enc.h
  41. encoding.c
  42. entities.c
  43. error.c
  44. genChRanges.py
  45. gentest.py
  46. genUnicode.py
  47. global.data
  48. globals.c
  49. HACKING
  50. hash.c
  51. HTMLparser.c
  52. HTMLtree.c
  53. INSTALL.libxml2
  54. legacy.c
  55. libxml-2.0-uninstalled.pc.in
  56. libxml-2.0.pc.in
  57. libxml.3
  58. libxml.h
  59. libxml.m4
  60. libxml.spec.in
  61. libxml2.doap
  62. libxml2.syms
  63. list.c
  64. MAINTAINERS
  65. Makefile.am
  66. Makefile.tests
  67. Makefile.win
  68. nanoftp.c
  69. nanohttp.c
  70. NEWS
  71. parser.c
  72. parserInternals.c
  73. pattern.c
  74. README
  75. README.cvs-commits
  76. README.tests
  77. regressions.py
  78. regressions.xml
  79. relaxng.c
  80. rngparser.c
  81. runsuite.c
  82. runtest.c
  83. runxmlconf.c
  84. save.h
  85. SAX.c
  86. SAX2.c
  87. schematron.c
  88. testapi.c
  89. testAutomata.c
  90. testC14N.c
  91. testchar.c
  92. testdict.c
  93. testdso.c
  94. testHTML.c
  95. testModule.c
  96. testOOM.c
  97. testOOMlib.c
  98. testOOMlib.h
  99. testReader.c
  100. testrecurse.c
  101. testRegexp.c
  102. testRelax.c
  103. testSAX.c
  104. testSchemas.c
  105. testThreads.c
  106. testThreadsWin32.c
  107. testURI.c
  108. testXPath.c
  109. threads.c
  110. TODO
  111. TODO_SCHEMAS
  112. tree.c
  113. trio.c
  114. trio.h
  115. triodef.h
  116. trionan.c
  117. trionan.h
  118. triop.h
  119. triostr.c
  120. triostr.h
  121. uri.c
  122. valid.c
  123. xinclude.c
  124. xlink.c
  125. xml2-config.1
  126. xml2-config.in
  127. xml2Conf.sh.in
  128. xmlcatalog.c
  129. xmlIO.c
  130. xmllint.c
  131. xmlmemory.c
  132. xmlmodule.c
  133. xmlreader.c
  134. xmlregexp.c
  135. xmlsave.c
  136. xmlschemas.c
  137. xmlschemastypes.c
  138. xmlstring.c
  139. xmlunicode.c
  140. xmlwriter.c
  141. xpath.c
  142. xpointer.c
  143. xzlib.c
  144. xzlib.h