usage.xml 14 KB

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