23 references to XmlSchemaException
System.Private.Xml (23)
System\Xml\Core\XmlTextReaderImpl.cs (1)
2767
SendValidationEvent(severity, new
XmlSchemaException
(code, arg, _ps.baseUriStr, lineNo, linePos));
System\Xml\Schema\BaseValidator.cs (5)
262
SendValidationEvent(new
XmlSchemaException
(code, arg, reader.BaseURI, _positionInfo.LineNumber, _positionInfo.LinePosition));
272
SendValidationEvent(new
XmlSchemaException
(code, msg, reader.BaseURI, _positionInfo.LineNumber, _positionInfo.LinePosition), severity);
299
e = new
XmlSchemaException
(SR.Sch_UndeclaredEntity, name, baseUri, lineNumber, linePosition);
303
e = new
XmlSchemaException
(SR.Sch_UnparsedEntityRef, name, baseUri, lineNumber, linePosition);
334
XmlSchemaException e = new
XmlSchemaException
(errorResId, name, baseUriStr, lineNumber, linePosition);
System\Xml\Schema\DtdParser.cs (5)
421
SendValidationEvent(XmlSeverityType.Error, new
XmlSchemaException
(SR.Sch_UndeclaredNotation, un.name, BaseUriStr, (int)un.lineNo, (int)un.linePos));
822
SendValidationEvent(XmlSeverityType.Error, new
XmlSchemaException
(SR.Xml_AttlistDuplNotationValue, notationName, BaseUriStr, (int)LineNo, (int)LinePos));
861
SendValidationEvent(XmlSeverityType.Error, new
XmlSchemaException
(SR.Xml_AttlistDuplEnumValue, nmtoken, BaseUriStr, (int)LineNo, (int)LinePos));
3399
SendValidationEvent(severity, new
XmlSchemaException
(code, arg, BaseUriStr, (int)LineNo, (int)LinePos + (pos - _curPos)));
3405
SendValidationEvent(severity, new
XmlSchemaException
(code, arg, BaseUriStr, (int)LineNo, (int)LinePos));
System\Xml\Schema\DtdParserAsync.cs (3)
63
SendValidationEvent(XmlSeverityType.Error, new
XmlSchemaException
(SR.Sch_UndeclaredNotation, un.name, BaseUriStr, (int)un.lineNo, (int)un.linePos));
466
SendValidationEvent(XmlSeverityType.Error, new
XmlSchemaException
(SR.Xml_AttlistDuplNotationValue, notationName, BaseUriStr, (int)LineNo, (int)LinePos));
505
SendValidationEvent(XmlSeverityType.Error, new
XmlSchemaException
(SR.Xml_AttlistDuplEnumValue, nmtoken, BaseUriStr, (int)LineNo, (int)LinePos));
System\Xml\Schema\DtdValidator.cs (2)
490
SendValidationEvent(new
XmlSchemaException
(SR.Sch_UndeclaredId, next.Id, reader.BaseURI, next.LineNo, next.LinePos));
600
XmlSchemaException e = new
XmlSchemaException
(SR.Sch_EnumerationValue, typedValue!.ToString(), baseUriStr, attdef.ValueLineNumber, attdef.ValueLinePosition);
System\Xml\Schema\XdrBuilder.cs (1)
1806
SendValidationEvent(new
XmlSchemaException
(code, msg, _reader.BaseURI, _positionInfo.LineNumber, _positionInfo.LinePosition), XmlSeverityType.Error);
System\Xml\Schema\XdrValidator.cs (3)
605
XmlSchemaException e = new
XmlSchemaException
(SR.Sch_EnumerationValue, typedValue.ToString(), baseUri, lineNo, linePos);
624
XmlSchemaException e = new
XmlSchemaException
(SR.Sch_AttributeDefaultDataType, attdef.Name.ToString(), baseUri, lineNo, linePos);
683
SendValidationEvent(new
XmlSchemaException
(SR.Sch_UndeclaredId, next.Id, reader.BaseURI, next.LineNo, next.LinePos));
System\Xml\Schema\XsdBuilder.cs (1)
2566
SendValidationEvent(new
XmlSchemaException
(code, msg, _reader.BaseURI, _positionInfo.LineNumber, _positionInfo.LinePosition));
System\Xml\Schema\XsdValidator.cs (2)
815
SendValidationEvent(new
XmlSchemaException
(SR.Sch_UndeclaredId, next.Id, reader.BaseURI, next.LineNo, next.LinePos));
1076
SendValidationEvent(new
XmlSchemaException
(SR.Sch_MissingKey, constraints[i].constraint.name.ToString(), reader.BaseURI, ks.PosLine, ks.PosCol));