<data name="Xml_DataTableInferenceNotSupported" xml:space="preserve"><value>DataTable does not support schema inference from Xml.</value></data>
<data name="Xml_MultipleParentRows" xml:space="preserve"><value>Cannot proceed with serializing DataTable '{0}'. It contains a DataRow which has multiple parent rows on the same Foreign Key.</value></data>
<data name="Xml_IsDataSetAttributeMissingInSchema" xml:space="preserve"><value>IsDataSet attribute is missing in input Schema.</value></data>
- <data name="Xml_TooManyIsDataSetAtributeInSchema" xml:space="preserve"><value>Cannot determine the DataSet Element. IsDataSet attribute exist more than once.</value></data>
+ <data name="Xml_TooManyIsDataSetAttributesInSchema" xml:space="preserve"><value>Cannot determine the DataSet element. More than one IsDataSet attribute exists.</value></data>
<data name="Xml_DynamicWithoutXmlSerializable" xml:space="preserve"><value>DataSet will not serialize types that implement IDynamicMetaObjectProvider but do not also implement IXmlSerializable.</value></data>
<data name="Expr_NYI" xml:space="preserve"><value>The feature not implemented. {0}.</value></data>
<data name="Expr_MissingOperand" xml:space="preserve"><value>Syntax error: Missing operand after '{0}' operator.</value></data>
public static Exception InvalidPrefix(string name) => _Data(SR.Format(SR.Xml_InvalidPrefix_SpecialCharacters, name));
public static Exception CanNotDeserializeObjectType() => _InvalidOperation(SR.Xml_CanNotDeserializeObjectType);
public static Exception IsDataSetAttributeMissingInSchema() => _Data(SR.Xml_IsDataSetAttributeMissingInSchema);
- public static Exception TooManyIsDataSetAtributeInSchema() => _Data(SR.Xml_TooManyIsDataSetAtributeInSchema);
+ public static Exception TooManyIsDataSetAttributesInSchema() => _Data(SR.Xml_TooManyIsDataSetAttributesInSchema);
// XML save
public static Exception NestedCircular(string name) => _Data(SR.Format(SR.Xml_NestedCircular, name));
}
else if (dataSetElementCount > 1)
{
- throw ExceptionBuilder.TooManyIsDataSetAtributeInSchema();
+ throw ExceptionBuilder.TooManyIsDataSetAttributesInSchema();
}
XmlSchemaComplexType ct = (XmlSchemaComplexType)FindTypeNode(_dsElement);
}
else if (NodeType == XmlNodeType.Attribute)
{
- return _encoder.AtributeInnerXml(Value);
+ return _encoder.AttributeInnerXml(Value);
}
else
{
}
else if (NodeType == XmlNodeType.Attribute)
{
- return _encoder.AtributeOuterXml(Name, Value);
+ return _encoder.AttributeOuterXml(Name, Value);
}
else
{
_encoder = new XmlTextEncoder(new StringWriter(_buffer, CultureInfo.InvariantCulture));
}
- public string AtributeInnerXml(string value)
+ public string AttributeInnerXml(string value)
{
if (_encoder == null) Init();
_buffer.Length = 0; // clean buffer
return _buffer.ToString();
}
- public string AtributeOuterXml(string name, string value)
+ public string AttributeOuterXml(string name, string value)
{
if (_encoder == null) Init();
_buffer.Length = 0; // clean buffer