Login   Register  
PHP Classes
elePHPant
Icontem

File: test/expect/unfinishedquotedtagattribute.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Manuel Lemos  >  Secure HTML parser and filter  >  test/expect/unfinishedquotedtagattribute.txt  >  Download  
File: test/expect/unfinishedquotedtagattribute.txt
Role: Auxiliary data
Content type: text/plain
Description: Unit test expected results
Class: Secure HTML parser and filter
Parse and filter insecure HTML tags and CSS styles
Author: By
Last change: Handled the situation of tag attribute names that are quoted and unfinished quoted attributes.
Date: 5 years ago
Size: 531 bytes
 

Contents

Class file image Download
array(6) {
  ["Type"]=>
  string(3) "TAG"
  ["Name"]=>
  string(3) "tag"
  ["Attributes"]=>
  array(1) {
    ["attribute"]=>
    string(0) ""
  }
  ["Position"]=>
  int(0)
  ["Line"]=>
  int(1)
  ["Column"]=>
  int(1)
}
array(5) {
  ["Type"]=>
  string(3) "TAG"
  ["Name"]=>
  string(3) "tag"
  ["Position"]=>
  int(15)
  ["Line"]=>
  int(1)
  ["Column"]=>
  int(16)
}
Warning: unexpected quoted attribute at position 5 line 1 column 6
Warning: it was found a tag start character in a tag attribute at position 15 line 1 column 16