private bool CheckDeclAttribute(int index, string localName, string value, bool checkLower, string valueSR)
{
XmlAttributeNode node = _attributeNodes[index];
if (!node.Prefix.IsEmpty)
XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.Format(SR.XmlMalformedDecl)));
if (node.LocalName != localName)
return false;
if (value != null && !node.Value.Equals2(value, checkLower))
XmlExceptionHelper.ThrowXmlException(this, new XmlException(SR.Format(valueSR)));
return true;
}
protected XmlCommentNode MoveToComment()