| 1 | <?php |
||
| 15 | class DisallowUnsafeCopyOf extends TemplateCheck |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Check for unsafe <xsl:copy-of/> elements |
||
| 19 | * |
||
| 20 | * Any select expression that is not a set of named attributes is considered unsafe |
||
| 21 | * |
||
| 22 | * @param DOMElement $template <xsl:template/> node |
||
| 23 | * @param Tag $tag Tag this template belongs to |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | 1 | public function check(DOMElement $template, Tag $tag) |
|
| 39 | } |