{
    "name": "RDF feed",
    "options": { "xmlMode": true },
    "file": "RDF_Example.xml",
    "expected": [
        {
            "event": "processinginstruction",
            "data": ["?xml", "?xml version=\"1.0\" encoding=\"UTF-8\"?"]
        },
        {
            "event": "text",
            "data": ["\n"]
        },
        {
            "event": "opentagname",
            "data": ["rdf:RDF"]
        },
        {
            "event": "attribute",
            "data": ["xmlns:rdf", "http://www.w3.org/1999/02/22-rdf-syntax-ns#"]
        },
        {
            "event": "attribute",
            "data": ["xmlns", "http://purl.org/rss/1.0/"]
        },
        {
            "event": "attribute",
            "data": ["xmlns:ev", "http://purl.org/rss/1.0/modules/event/"]
        },
        {
            "event": "attribute",
            "data": [
                "xmlns:content",
                "http://purl.org/rss/1.0/modules/content/"
            ]
        },
        {
            "event": "attribute",
            "data": ["xmlns:taxo", "http://purl.org/rss/1.0/modules/taxonomy/"]
        },
        {
            "event": "attribute",
            "data": ["xmlns:dc", "http://purl.org/dc/elements/1.1/"]
        },
        {
            "event": "attribute",
            "data": [
                "xmlns:syn",
                "http://purl.org/rss/1.0/modules/syndication/"
            ]
        },
        {
            "event": "attribute",
            "data": ["xmlns:dcterms", "http://purl.org/dc/terms/"]
        },
        {
            "event": "attribute",
            "data": ["xmlns:admin", "http://webns.net/mvcb/"]
        },
        {
            "event": "opentag",
            "data": [
                "rdf:RDF",
                {
                    "xmlns:rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
                    "xmlns": "http://purl.org/rss/1.0/",
                    "xmlns:ev": "http://purl.org/rss/1.0/modules/event/",
                    "xmlns:content": "http://purl.org/rss/1.0/modules/content/",
                    "xmlns:taxo": "http://purl.org/rss/1.0/modules/taxonomy/",
                    "xmlns:dc": "http://purl.org/dc/elements/1.1/",
                    "xmlns:syn": "http://purl.org/rss/1.0/modules/syndication/",
                    "xmlns:dcterms": "http://purl.org/dc/terms/",
                    "xmlns:admin": "http://webns.net/mvcb/"
                }
            ]
        },
        {
            "event": "text",
            "data": ["\n\t"]
        },
        {
            "event": "opentagname",
            "data": ["channel"]
        },
        {
            "event": "attribute",
            "data": ["rdf:about", "https://github.com/fb55/htmlparser2/"]
        },
        {
            "event": "opentag",
            "data": [
                "channel",
                {
                    "rdf:about": "https://github.com/fb55/htmlparser2/"
                }
            ]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["title"]
        },
        {
            "event": "opentag",
            "data": ["title", {}]
        },
        {
            "event": "text",
            "data": ["A title to parse and remember"]
        },
        {
            "event": "closetag",
            "data": ["title"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["link"]
        },
        {
            "event": "opentag",
            "data": ["link", {}]
        },
        {
            "event": "text",
            "data": ["https://github.com/fb55/htmlparser2/"]
        },
        {
            "event": "closetag",
            "data": ["link"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["description"]
        },
        {
            "event": "opentag",
            "data": ["description", {}]
        },
        {
            "event": "closetag",
            "data": ["description"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:language"]
        },
        {
            "event": "opentag",
            "data": ["dc:language", {}]
        },
        {
            "event": "text",
            "data": ["en-us"]
        },
        {
            "event": "closetag",
            "data": ["dc:language"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:rights"]
        },
        {
            "event": "opentag",
            "data": ["dc:rights", {}]
        },
        {
            "event": "text",
            "data": ["Copyright 2015 the authors"]
        },
        {
            "event": "closetag",
            "data": ["dc:rights"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:publisher"]
        },
        {
            "event": "opentag",
            "data": ["dc:publisher", {}]
        },
        {
            "event": "text",
            "data": ["webmaster@thisisafakedoma.in"]
        },
        {
            "event": "closetag",
            "data": ["dc:publisher"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:creator"]
        },
        {
            "event": "opentag",
            "data": ["dc:creator", {}]
        },
        {
            "event": "text",
            "data": ["webmaster@thisisafakedoma.in"]
        },
        {
            "event": "closetag",
            "data": ["dc:creator"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:source"]
        },
        {
            "event": "opentag",
            "data": ["dc:source", {}]
        },
        {
            "event": "text",
            "data": ["https://github.com/fb55/htmlparser2/"]
        },
        {
            "event": "closetag",
            "data": ["dc:source"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:title"]
        },
        {
            "event": "opentag",
            "data": ["dc:title", {}]
        },
        {
            "event": "text",
            "data": ["A title to parse and remember"]
        },
        {
            "event": "closetag",
            "data": ["dc:title"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:type"]
        },
        {
            "event": "opentag",
            "data": ["dc:type", {}]
        },
        {
            "event": "text",
            "data": ["Collection"]
        },
        {
            "event": "closetag",
            "data": ["dc:type"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["syn:updateBase"]
        },
        {
            "event": "opentag",
            "data": ["syn:updateBase", {}]
        },
        {
            "event": "text",
            "data": ["2011-11-04T09:39:10-07:00"]
        },
        {
            "event": "closetag",
            "data": ["syn:updateBase"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["syn:updateFrequency"]
        },
        {
            "event": "opentag",
            "data": ["syn:updateFrequency", {}]
        },
        {
            "event": "text",
            "data": ["4"]
        },
        {
            "event": "closetag",
            "data": ["syn:updateFrequency"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["syn:updatePeriod"]
        },
        {
            "event": "opentag",
            "data": ["syn:updatePeriod", {}]
        },
        {
            "event": "text",
            "data": ["hourly"]
        },
        {
            "event": "closetag",
            "data": ["syn:updatePeriod"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["items"]
        },
        {
            "event": "opentag",
            "data": ["items", {}]
        },
        {
            "event": "text",
            "data": ["\n\t\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["rdf:Seq"]
        },
        {
            "event": "opentag",
            "data": ["rdf:Seq", {}]
        },
        {
            "event": "text",
            "data": ["\n\t\t\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["rdf:li"]
        },
        {
            "event": "attribute",
            "data": [
                "rdf:resource",
                "http://somefakesite/path/to/something.html"
            ]
        },
        {
            "event": "opentag",
            "data": [
                "rdf:li",
                {
                    "rdf:resource": "http://somefakesite/path/to/something.html"
                }
            ]
        },
        {
            "event": "closetag",
            "data": ["rdf:li"]
        },
        {
            "event": "text",
            "data": ["\n\t\t\t"]
        },
        {
            "event": "closetag",
            "data": ["rdf:Seq"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "closetag",
            "data": ["items"]
        },
        {
            "event": "text",
            "data": ["\n\t"]
        },
        {
            "event": "closetag",
            "data": ["channel"]
        },
        {
            "event": "text",
            "data": ["\n\t"]
        },
        {
            "event": "opentagname",
            "data": ["item"]
        },
        {
            "event": "attribute",
            "data": ["rdf:about", "http://somefakesite/path/to/something.html"]
        },
        {
            "event": "opentag",
            "data": [
                "item",
                {
                    "rdf:about": "http://somefakesite/path/to/something.html"
                }
            ]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["title"]
        },
        {
            "event": "opentag",
            "data": ["title", {}]
        },
        {
            "event": "cdatastart",
            "data": []
        },
        {
            "event": "text",
            "data": [" Fast HTML Parsing "]
        },
        {
            "event": "cdataend",
            "data": []
        },
        {
            "event": "closetag",
            "data": ["title"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["link"]
        },
        {
            "event": "opentag",
            "data": ["link", {}]
        },
        {
            "event": "text",
            "data": ["\nhttp://somefakesite/path/to/something.html\n"]
        },
        {
            "event": "closetag",
            "data": ["link"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["description"]
        },
        {
            "event": "opentag",
            "data": ["description", {}]
        },
        {
            "event": "cdatastart",
            "data": []
        },
        {
            "event": "text",
            "data": [
                "\nGreat test content<br>A link: <a href=\"http://github.com\">Github</a>\n"
            ]
        },
        {
            "event": "cdataend",
            "data": []
        },
        {
            "event": "closetag",
            "data": ["description"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:date"]
        },
        {
            "event": "opentag",
            "data": ["dc:date", {}]
        },
        {
            "event": "text",
            "data": ["2011-11-04T09:35:17-07:00"]
        },
        {
            "event": "closetag",
            "data": ["dc:date"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:language"]
        },
        {
            "event": "opentag",
            "data": ["dc:language", {}]
        },
        {
            "event": "text",
            "data": ["en-us"]
        },
        {
            "event": "closetag",
            "data": ["dc:language"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:rights"]
        },
        {
            "event": "opentag",
            "data": ["dc:rights", {}]
        },
        {
            "event": "text",
            "data": ["Copyright 2015 the authors"]
        },
        {
            "event": "closetag",
            "data": ["dc:rights"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:source"]
        },
        {
            "event": "opentag",
            "data": ["dc:source", {}]
        },
        {
            "event": "text",
            "data": ["\nhttp://somefakesite/path/to/something.html\n"]
        },
        {
            "event": "closetag",
            "data": ["dc:source"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:title"]
        },
        {
            "event": "opentag",
            "data": ["dc:title", {}]
        },
        {
            "event": "cdatastart",
            "data": []
        },
        {
            "event": "text",
            "data": [" Fast HTML Parsing "]
        },
        {
            "event": "cdataend",
            "data": []
        },
        {
            "event": "closetag",
            "data": ["dc:title"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:type"]
        },
        {
            "event": "opentag",
            "data": ["dc:type", {}]
        },
        {
            "event": "text",
            "data": ["text"]
        },
        {
            "event": "closetag",
            "data": ["dc:type"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dcterms:issued"]
        },
        {
            "event": "opentag",
            "data": ["dcterms:issued", {}]
        },
        {
            "event": "text",
            "data": ["2011-11-04T09:35:17-07:00"]
        },
        {
            "event": "closetag",
            "data": ["dcterms:issued"]
        },
        {
            "event": "text",
            "data": ["\n\t"]
        },
        {
            "event": "closetag",
            "data": ["item"]
        },
        {
            "event": "text",
            "data": ["\n\t"]
        },
        {
            "event": "opentagname",
            "data": ["item"]
        },
        {
            "event": "attribute",
            "data": [
                "rdf:about",
                "http://somefakesite/path/to/something-else.html"
            ]
        },
        {
            "event": "opentag",
            "data": [
                "item",
                {
                    "rdf:about": "http://somefakesite/path/to/something-else.html"
                }
            ]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["title"]
        },
        {
            "event": "opentag",
            "data": ["title", {}]
        },
        {
            "event": "cdatastart",
            "data": []
        },
        {
            "event": "text",
            "data": ["\nThis space intentionally left blank\n"]
        },
        {
            "event": "cdataend",
            "data": []
        },
        {
            "event": "closetag",
            "data": ["title"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["link"]
        },
        {
            "event": "opentag",
            "data": ["link", {}]
        },
        {
            "event": "text",
            "data": ["\nhttp://somefakesite/path/to/something-else.html\n"]
        },
        {
            "event": "closetag",
            "data": ["link"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["description"]
        },
        {
            "event": "opentag",
            "data": ["description", {}]
        },
        {
            "event": "cdatastart",
            "data": []
        },
        {
            "event": "text",
            "data": ["\nThe early bird gets the worm\n"]
        },
        {
            "event": "cdataend",
            "data": []
        },
        {
            "event": "closetag",
            "data": ["description"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:date"]
        },
        {
            "event": "opentag",
            "data": ["dc:date", {}]
        },
        {
            "event": "text",
            "data": ["2011-11-04T09:34:54-07:00"]
        },
        {
            "event": "closetag",
            "data": ["dc:date"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:language"]
        },
        {
            "event": "opentag",
            "data": ["dc:language", {}]
        },
        {
            "event": "text",
            "data": ["en-us"]
        },
        {
            "event": "closetag",
            "data": ["dc:language"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:rights"]
        },
        {
            "event": "opentag",
            "data": ["dc:rights", {}]
        },
        {
            "event": "text",
            "data": ["Copyright 2015 the authors"]
        },
        {
            "event": "closetag",
            "data": ["dc:rights"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:source"]
        },
        {
            "event": "opentag",
            "data": ["dc:source", {}]
        },
        {
            "event": "text",
            "data": ["\nhttp://somefakesite/path/to/something-else.html\n"]
        },
        {
            "event": "closetag",
            "data": ["dc:source"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:title"]
        },
        {
            "event": "opentag",
            "data": ["dc:title", {}]
        },
        {
            "event": "cdatastart",
            "data": []
        },
        {
            "event": "text",
            "data": ["\nThis space intentionally left blank\n"]
        },
        {
            "event": "cdataend",
            "data": []
        },
        {
            "event": "closetag",
            "data": ["dc:title"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dc:type"]
        },
        {
            "event": "opentag",
            "data": ["dc:type", {}]
        },
        {
            "event": "text",
            "data": ["text"]
        },
        {
            "event": "closetag",
            "data": ["dc:type"]
        },
        {
            "event": "text",
            "data": ["\n\t\t"]
        },
        {
            "event": "opentagname",
            "data": ["dcterms:issued"]
        },
        {
            "event": "opentag",
            "data": ["dcterms:issued", {}]
        },
        {
            "event": "text",
            "data": ["2011-11-04T09:34:54-07:00"]
        },
        {
            "event": "closetag",
            "data": ["dcterms:issued"]
        },
        {
            "event": "text",
            "data": ["\n\t"]
        },
        {
            "event": "closetag",
            "data": ["item"]
        },
        {
            "event": "text",
            "data": ["\n"]
        },
        {
            "event": "closetag",
            "data": ["rdf:RDF"]
        }
    ]
}
