 
 	private var elementPathString: String {
 		return elementPath.map({ "<\($0)>" }).joinWithSeparator(".")
+	}
+
+
+	private func parseBool(string: String) -> Bool? {
+		switch (string) {
+		case "true":  return true
+		case "false": return false
+
+		default:
+			fail(message: "'\(string)' is not a valid boolean (expected 'true' or 'false')")
+			return nil
+		}
 	}
 
 

	private var webtrekkId: String?

	private lazy var configuration: TrackingConfiguration = lazyPlaceholder()
	private var currentString = ""
	private var elementPath = [String]()
	private var error: ErrorType?

			return
		}

		pushState(.simpleElement(completion: completion))
	}


