/*
- * Copyright (c) 2010 Apple Inc. All rights reserved.
+ * Copyright (c) 2011 Apple Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
*/
/* CFXMLParser.c
- Copyright (c) 1999-2009, Apple Inc. All rights reserved.
- Responsibility: Chris Parker
+ Copyright (c) 1999-2011, Apple Inc. All rights reserved.
+ Responsibility: David Smith
*/
#include <CoreFoundation/CFXMLParser.h>
break;
}
if (CFArrayGetFirstIndexOfValue(array, CFRangeMake(0, CFArrayGetCount(array)), key) != kCFNotFound) {
- _CFReportError(parser, kCFXMLErrorMalformedStartTag, "Found repeated attribute");
- return false;
+ _CFReportError(parser, kCFXMLErrorMalformedStartTag, "Found repeated attribute");
+ return false;
}
_inputStreamSkipWhitespace(&parser->input, NULL);
if (!_inputStreamGetCharacter(&parser->input, &ch) || ch != '=') {