         XCTAssert(parser.rootElement.attribute("version").doubleValue == 1.0)
         XCTAssert(parser.rootElement.attribute("version").floatValue == 1.0)
         XCTAssert(parser.rootElement.attribute("creator").stringValue == "lobodart")
+        XCTAssert(parser.rootElement.attribute("creatorr") is CXMLNullAttribute)
     }
 }

        let url: URL = URL(fileURLWithPath: self.filePath)
        let parser: CXMLParser = CXMLParser(contentsOfURL: url)!
        
        let blogName: String! = parser["name"].stringValue
        XCTAssert(blogName == "MyAwesomeBlog!")
        
        let admin: String! = parser["users"]["admin"].stringValue
        XCTAssert(admin == "lobodart")
        
        let article: String! = parser["article"][0]["title"].stringValue
        XCTAssert(article == "My first article")
        
        let article2: String! = parser["article"][1]["title"].stringValue
        XCTAssert(article2 == "Another article")
        
        let articleOtherNotation: String! = parser["article", 0]["title"].stringValue
        XCTAssert(articleOtherNotation == "My first article")
        
        let article2OtherNotation: String! = parser["article", 1]["title"].stringValue
        XCTAssert(article2OtherNotation == "Another article")
    }
    
    func testTypeCasts() {

        
        let articles = parser["article"].array
        XCTAssert(articles.count == 2)
        XCTAssert(articles == parser.rootElement.elementsNamed("article"))
        
        let article = articles[0]
        
