usage.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <usage>
  3. <directive id="Core.CollectErrors">
  4. <file name="HTMLPurifier.php">
  5. <line>131</line>
  6. </file>
  7. <file name="HTMLPurifier/Lexer.php">
  8. <line>81</line>
  9. <line>284</line>
  10. </file>
  11. <file name="HTMLPurifier/Lexer/DirectLex.php">
  12. <line>53</line>
  13. <line>73</line>
  14. <line>348</line>
  15. </file>
  16. <file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
  17. <line>47</line>
  18. </file>
  19. </directive>
  20. <directive id="CSS.MaxImgLength">
  21. <file name="HTMLPurifier/CSSDefinition.php">
  22. <line>157</line>
  23. </file>
  24. </directive>
  25. <directive id="CSS.Proprietary">
  26. <file name="HTMLPurifier/CSSDefinition.php">
  27. <line>214</line>
  28. </file>
  29. </directive>
  30. <directive id="CSS.AllowTricky">
  31. <file name="HTMLPurifier/CSSDefinition.php">
  32. <line>218</line>
  33. </file>
  34. </directive>
  35. <directive id="CSS.AllowImportant">
  36. <file name="HTMLPurifier/CSSDefinition.php">
  37. <line>222</line>
  38. </file>
  39. </directive>
  40. <directive id="CSS.AllowedProperties">
  41. <file name="HTMLPurifier/CSSDefinition.php">
  42. <line>275</line>
  43. </file>
  44. </directive>
  45. <directive id="CSS.ForbiddenProperties">
  46. <file name="HTMLPurifier/CSSDefinition.php">
  47. <line>289</line>
  48. </file>
  49. </directive>
  50. <directive id="Cache.DefinitionImpl">
  51. <file name="HTMLPurifier/DefinitionCacheFactory.php">
  52. <line>49</line>
  53. </file>
  54. </directive>
  55. <directive id="HTML.Doctype">
  56. <file name="HTMLPurifier/DoctypeRegistry.php">
  57. <line>83</line>
  58. </file>
  59. </directive>
  60. <directive id="HTML.CustomDoctype">
  61. <file name="HTMLPurifier/DoctypeRegistry.php">
  62. <line>85</line>
  63. </file>
  64. </directive>
  65. <directive id="HTML.XHTML">
  66. <file name="HTMLPurifier/DoctypeRegistry.php">
  67. <line>88</line>
  68. </file>
  69. </directive>
  70. <directive id="HTML.Strict">
  71. <file name="HTMLPurifier/DoctypeRegistry.php">
  72. <line>93</line>
  73. </file>
  74. </directive>
  75. <directive id="Core.Encoding">
  76. <file name="HTMLPurifier/Encoder.php">
  77. <line>267</line>
  78. <line>300</line>
  79. </file>
  80. </directive>
  81. <directive id="Test.ForceNoIconv">
  82. <file name="HTMLPurifier/Encoder.php">
  83. <line>272</line>
  84. <line>308</line>
  85. </file>
  86. </directive>
  87. <directive id="Core.EscapeNonASCIICharacters">
  88. <file name="HTMLPurifier/Encoder.php">
  89. <line>304</line>
  90. </file>
  91. </directive>
  92. <directive id="Output.CommentScriptContents">
  93. <file name="HTMLPurifier/Generator.php">
  94. <line>56</line>
  95. </file>
  96. </directive>
  97. <directive id="Output.SortAttr">
  98. <file name="HTMLPurifier/Generator.php">
  99. <line>57</line>
  100. </file>
  101. </directive>
  102. <directive id="Output.FlashCompat">
  103. <file name="HTMLPurifier/Generator.php">
  104. <line>58</line>
  105. </file>
  106. </directive>
  107. <directive id="Output.TidyFormat">
  108. <file name="HTMLPurifier/Generator.php">
  109. <line>87</line>
  110. </file>
  111. </directive>
  112. <directive id="Core.NormalizeNewlines">
  113. <file name="HTMLPurifier/Generator.php">
  114. <line>101</line>
  115. </file>
  116. <file name="HTMLPurifier/Lexer.php">
  117. <line>266</line>
  118. </file>
  119. </directive>
  120. <directive id="Output.Newline">
  121. <file name="HTMLPurifier/Generator.php">
  122. <line>102</line>
  123. </file>
  124. </directive>
  125. <directive id="HTML.BlockWrapper">
  126. <file name="HTMLPurifier/HTMLDefinition.php">
  127. <line>222</line>
  128. </file>
  129. </directive>
  130. <directive id="HTML.Parent">
  131. <file name="HTMLPurifier/HTMLDefinition.php">
  132. <line>230</line>
  133. </file>
  134. </directive>
  135. <directive id="HTML.AllowedElements">
  136. <file name="HTMLPurifier/HTMLDefinition.php">
  137. <line>247</line>
  138. </file>
  139. </directive>
  140. <directive id="HTML.AllowedAttributes">
  141. <file name="HTMLPurifier/HTMLDefinition.php">
  142. <line>248</line>
  143. </file>
  144. </directive>
  145. <directive id="HTML.Allowed">
  146. <file name="HTMLPurifier/HTMLDefinition.php">
  147. <line>251</line>
  148. </file>
  149. </directive>
  150. <directive id="HTML.ForbiddenElements">
  151. <file name="HTMLPurifier/HTMLDefinition.php">
  152. <line>342</line>
  153. </file>
  154. </directive>
  155. <directive id="HTML.ForbiddenAttributes">
  156. <file name="HTMLPurifier/HTMLDefinition.php">
  157. <line>343</line>
  158. </file>
  159. </directive>
  160. <directive id="HTML.Trusted">
  161. <file name="HTMLPurifier/HTMLModuleManager.php">
  162. <line>202</line>
  163. </file>
  164. <file name="HTMLPurifier/Lexer.php">
  165. <line>271</line>
  166. </file>
  167. <file name="HTMLPurifier/HTMLModule/Image.php">
  168. <line>27</line>
  169. </file>
  170. <file name="HTMLPurifier/Lexer/DirectLex.php">
  171. <line>36</line>
  172. </file>
  173. <file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
  174. <line>23</line>
  175. </file>
  176. </directive>
  177. <directive id="HTML.AllowedModules">
  178. <file name="HTMLPurifier/HTMLModuleManager.php">
  179. <line>209</line>
  180. </file>
  181. </directive>
  182. <directive id="HTML.CoreModules">
  183. <file name="HTMLPurifier/HTMLModuleManager.php">
  184. <line>210</line>
  185. </file>
  186. </directive>
  187. <directive id="HTML.Proprietary">
  188. <file name="HTMLPurifier/HTMLModuleManager.php">
  189. <line>221</line>
  190. </file>
  191. </directive>
  192. <directive id="HTML.SafeObject">
  193. <file name="HTMLPurifier/HTMLModuleManager.php">
  194. <line>226</line>
  195. </file>
  196. </directive>
  197. <directive id="HTML.SafeEmbed">
  198. <file name="HTMLPurifier/HTMLModuleManager.php">
  199. <line>229</line>
  200. </file>
  201. </directive>
  202. <directive id="Attr.IDBlacklist">
  203. <file name="HTMLPurifier/IDAccumulator.php">
  204. <line>26</line>
  205. </file>
  206. </directive>
  207. <directive id="Core.Language">
  208. <file name="HTMLPurifier/LanguageFactory.php">
  209. <line>88</line>
  210. </file>
  211. </directive>
  212. <directive id="Core.LexerImpl">
  213. <file name="HTMLPurifier/Lexer.php">
  214. <line>76</line>
  215. </file>
  216. </directive>
  217. <directive id="Core.MaintainLineNumbers">
  218. <file name="HTMLPurifier/Lexer.php">
  219. <line>80</line>
  220. </file>
  221. <file name="HTMLPurifier/Lexer/DirectLex.php">
  222. <line>48</line>
  223. </file>
  224. </directive>
  225. <directive id="Core.ConvertDocumentToFragment">
  226. <file name="HTMLPurifier/Lexer.php">
  227. <line>282</line>
  228. </file>
  229. </directive>
  230. <directive id="Core.RemoveProcessingInstructions">
  231. <file name="HTMLPurifier/Lexer.php">
  232. <line>303</line>
  233. </file>
  234. </directive>
  235. <directive id="URI.">
  236. <file name="HTMLPurifier/URIDefinition.php">
  237. <line>55</line>
  238. </file>
  239. <file name="HTMLPurifier/URIFilter/Munge.php">
  240. <line>12</line>
  241. </file>
  242. </directive>
  243. <directive id="URI.Host">
  244. <file name="HTMLPurifier/URIDefinition.php">
  245. <line>64</line>
  246. </file>
  247. </directive>
  248. <directive id="URI.Base">
  249. <file name="HTMLPurifier/URIDefinition.php">
  250. <line>65</line>
  251. </file>
  252. </directive>
  253. <directive id="URI.DefaultScheme">
  254. <file name="HTMLPurifier/URIDefinition.php">
  255. <line>72</line>
  256. </file>
  257. </directive>
  258. <directive id="URI.AllowedSchemes">
  259. <file name="HTMLPurifier/URISchemeRegistry.php">
  260. <line>41</line>
  261. </file>
  262. </directive>
  263. <directive id="URI.OverrideAllowedSchemes">
  264. <file name="HTMLPurifier/URISchemeRegistry.php">
  265. <line>42</line>
  266. </file>
  267. </directive>
  268. <directive id="URI.Disable">
  269. <file name="HTMLPurifier/AttrDef/URI.php">
  270. <line>28</line>
  271. </file>
  272. </directive>
  273. <directive id="Core.ColorKeywords">
  274. <file name="HTMLPurifier/AttrDef/CSS/Color.php">
  275. <line>12</line>
  276. </file>
  277. <file name="HTMLPurifier/AttrDef/HTML/Color.php">
  278. <line>12</line>
  279. </file>
  280. </directive>
  281. <directive id="Attr.AllowedClasses">
  282. <file name="HTMLPurifier/AttrDef/HTML/Class.php">
  283. <line>18</line>
  284. </file>
  285. </directive>
  286. <directive id="Attr.ForbiddenClasses">
  287. <file name="HTMLPurifier/AttrDef/HTML/Class.php">
  288. <line>19</line>
  289. </file>
  290. </directive>
  291. <directive id="Attr.AllowedFrameTargets">
  292. <file name="HTMLPurifier/AttrDef/HTML/FrameTarget.php">
  293. <line>15</line>
  294. </file>
  295. </directive>
  296. <directive id="Attr.EnableID">
  297. <file name="HTMLPurifier/AttrDef/HTML/ID.php">
  298. <line>20</line>
  299. </file>
  300. </directive>
  301. <directive id="Attr.IDPrefix">
  302. <file name="HTMLPurifier/AttrDef/HTML/ID.php">
  303. <line>26</line>
  304. </file>
  305. </directive>
  306. <directive id="Attr.IDPrefixLocal">
  307. <file name="HTMLPurifier/AttrDef/HTML/ID.php">
  308. <line>28</line>
  309. <line>31</line>
  310. </file>
  311. </directive>
  312. <directive id="Attr.IDBlacklistRegexp">
  313. <file name="HTMLPurifier/AttrDef/HTML/ID.php">
  314. <line>54</line>
  315. </file>
  316. </directive>
  317. <directive id="Attr.">
  318. <file name="HTMLPurifier/AttrDef/HTML/LinkTypes.php">
  319. <line>30</line>
  320. </file>
  321. </directive>
  322. <directive id="Attr.DefaultTextDir">
  323. <file name="HTMLPurifier/AttrTransform/BdoDir.php">
  324. <line>13</line>
  325. </file>
  326. </directive>
  327. <directive id="Core.RemoveInvalidImg">
  328. <file name="HTMLPurifier/AttrTransform/ImgRequired.php">
  329. <line>18</line>
  330. </file>
  331. <file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
  332. <line>20</line>
  333. </file>
  334. </directive>
  335. <directive id="Attr.DefaultInvalidImage">
  336. <file name="HTMLPurifier/AttrTransform/ImgRequired.php">
  337. <line>19</line>
  338. </file>
  339. </directive>
  340. <directive id="Attr.DefaultImageAlt">
  341. <file name="HTMLPurifier/AttrTransform/ImgRequired.php">
  342. <line>25</line>
  343. </file>
  344. </directive>
  345. <directive id="Attr.DefaultInvalidImageAlt">
  346. <file name="HTMLPurifier/AttrTransform/ImgRequired.php">
  347. <line>33</line>
  348. </file>
  349. </directive>
  350. <directive id="HTML.Attr.Name.UseCDATA">
  351. <file name="HTMLPurifier/AttrTransform/Name.php">
  352. <line>11</line>
  353. </file>
  354. <file name="HTMLPurifier/HTMLModule/Name.php">
  355. <line>13</line>
  356. </file>
  357. </directive>
  358. <directive id="HTML.FlashAllowFullScreen">
  359. <file name="HTMLPurifier/AttrTransform/SafeParam.php">
  360. <line>37</line>
  361. </file>
  362. </directive>
  363. <directive id="Core.EscapeInvalidChildren">
  364. <file name="HTMLPurifier/ChildDef/Required.php">
  365. <line>62</line>
  366. </file>
  367. </directive>
  368. <directive id="Cache.SerializerPath">
  369. <file name="HTMLPurifier/DefinitionCache/Serializer.php">
  370. <line>91</line>
  371. </file>
  372. </directive>
  373. <directive id="Filter.ExtractStyleBlocks.TidyImpl">
  374. <file name="HTMLPurifier/Filter/ExtractStyleBlocks.php">
  375. <line>41</line>
  376. </file>
  377. </directive>
  378. <directive id="Filter.ExtractStyleBlocks.Scope">
  379. <file name="HTMLPurifier/Filter/ExtractStyleBlocks.php">
  380. <line>65</line>
  381. </file>
  382. </directive>
  383. <directive id="Filter.ExtractStyleBlocks.Escaping">
  384. <file name="HTMLPurifier/Filter/ExtractStyleBlocks.php">
  385. <line>123</line>
  386. </file>
  387. </directive>
  388. <directive id="HTML.MaxImgLength">
  389. <file name="HTMLPurifier/HTMLModule/Image.php">
  390. <line>14</line>
  391. </file>
  392. <file name="HTMLPurifier/HTMLModule/SafeEmbed.php">
  393. <line>13</line>
  394. </file>
  395. <file name="HTMLPurifier/HTMLModule/SafeObject.php">
  396. <line>19</line>
  397. </file>
  398. </directive>
  399. <directive id="HTML.TidyLevel">
  400. <file name="HTMLPurifier/HTMLModule/Tidy.php">
  401. <line>45</line>
  402. </file>
  403. </directive>
  404. <directive id="HTML.TidyAdd">
  405. <file name="HTMLPurifier/HTMLModule/Tidy.php">
  406. <line>49</line>
  407. </file>
  408. </directive>
  409. <directive id="HTML.TidyRemove">
  410. <file name="HTMLPurifier/HTMLModule/Tidy.php">
  411. <line>50</line>
  412. </file>
  413. </directive>
  414. <directive id="AutoFormat.PurifierLinkify.DocURL">
  415. <file name="HTMLPurifier/Injector/PurifierLinkify.php">
  416. <line>15</line>
  417. </file>
  418. </directive>
  419. <directive id="AutoFormat.RemoveEmpty.RemoveNbsp">
  420. <file name="HTMLPurifier/Injector/RemoveEmpty.php">
  421. <line>12</line>
  422. </file>
  423. </directive>
  424. <directive id="AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions">
  425. <file name="HTMLPurifier/Injector/RemoveEmpty.php">
  426. <line>13</line>
  427. </file>
  428. </directive>
  429. <directive id="Core.AggressivelyFixLt">
  430. <file name="HTMLPurifier/Lexer/DOMLex.php">
  431. <line>44</line>
  432. </file>
  433. </directive>
  434. <directive id="Core.DirectLexLineNumberSyncInterval">
  435. <file name="HTMLPurifier/Lexer/DirectLex.php">
  436. <line>70</line>
  437. </file>
  438. </directive>
  439. <directive id="Core.EscapeInvalidTags">
  440. <file name="HTMLPurifier/Strategy/MakeWellFormed.php">
  441. <line>45</line>
  442. </file>
  443. <file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
  444. <line>19</line>
  445. </file>
  446. </directive>
  447. <directive id="Core.RemoveScriptContents">
  448. <file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
  449. <line>25</line>
  450. </file>
  451. </directive>
  452. <directive id="Core.HiddenElements">
  453. <file name="HTMLPurifier/Strategy/RemoveForeignElements.php">
  454. <line>26</line>
  455. </file>
  456. </directive>
  457. <directive id="URI.HostBlacklist">
  458. <file name="HTMLPurifier/URIFilter/HostBlacklist.php">
  459. <line>8</line>
  460. </file>
  461. </directive>
  462. <directive id="URI.MungeResources">
  463. <file name="HTMLPurifier/URIFilter/Munge.php">
  464. <line>14</line>
  465. </file>
  466. </directive>
  467. <directive id="URI.MungeSecretKey">
  468. <file name="HTMLPurifier/URIFilter/Munge.php">
  469. <line>15</line>
  470. </file>
  471. </directive>
  472. </usage>