Definition at line 3457 of file DtdParser.cs.
3458 {
3460 if (token != 0)
3461 {
3463 }
3465 {
3468 switch (token)
3469 {
3470 default:
3471 return;
3472 case Token.ID:
3474 {
3477 {
3479 }
3480 }
3482 return;
3483 case Token.NOTATION:
3484 break;
3485 }
3487 {
3488 if (
elementDecl.IsNotationDeclared && !ignoreErrors)
3489 {
3491 }
3492 else
3493 {
3495 {
3497 }
3499 }
3500 }
3502 {
3503 do
3504 {
3507 {
3509 }
3511 {
3513 }
3516 {
3517 case Token.Or:
3518 continue;
3519 case Token.RightParen:
3520 return;
3521 }
3522 break;
3523 }
3525 }
3526 }
3527 else if (token == Token.LeftParen)
3528 {
3532 {
3534 while (true)
3535 {
3538 {
3539 case Token.Or:
3541 {
3544 {
3546 }
3548 }
3549 break;
3550 case Token.RightParen:
3551 return;
3552 }
3553 break;
3556 }
3557 }
3558 }
3560 }
bool ICollection< TValue >. Contains(TValue item)
bool ContainsKey(TKey key)
static string Xml_AttlistDuplNotationValue
static string Sch_NotationAttributeOnEmptyElement
static string Sch_DupNotationAttribute
static string Xml_AttlistDuplEnumValue
static string Sch_IdAttrDeclared
void SendValidationEvent(int pos, XmlSeverityType severity, string code, string arg)
void AddUndeclaredNotation(string notationName)
bool IsAttributeValueType(Token token)
string GetNmtokenString()
async Task< Token > GetTokenAsync(bool needWhiteSpace)
Dictionary< string, SchemaNotation > Notations
static ? XmlSchemaSimpleType GetBuiltInSimpleType(XmlQualifiedName qualifiedName)
References System.Xml.DtdParser._curPos, System.Xml.DtdParser._schemaInfo, System.Xml.DtdParser._v1Compat, System.Xml.DtdParser._validate, System.Xml.DtdParser.AddUndeclaredNotation(), System.Xml.DtdParser.BaseUriStr, System.Collections.Generic.Dictionary< TKey, TValue >.ValueCollection.Contains(), System.Collections.Generic.Dictionary< TKey, TValue >.ContainsKey(), System.Xml.Dictionary, System.Xml.Schema.XmlSchemaType.GetBuiltInSimpleType(), System.Xml.DtdParser.GetNameString(), System.Xml.DtdParser.GetNmtokenString(), System.Xml.DtdParser.GetTokenAsync(), System.Xml.DtdParser.IsAttributeValueType(), System.Xml.DtdParser.LineNo, System.Xml.DtdParser.LinePos, System.Xml.Schema.SchemaInfo.Notations, System.Xml.DtdParser.OnUnexpectedError(), System.SR.Sch_DupNotationAttribute, System.SR.Sch_IdAttrDeclared, System.SR.Sch_NotationAttributeOnEmptyElement, System.Xml.DtdParser.SendValidationEvent(), System.Collections.Generic.Dictionary< TKey, TValue >.Values, System.SR.Xml_AttlistDuplEnumValue, and System.SR.Xml_AttlistDuplNotationValue.
Referenced by System.Xml.DtdParser.ParseAttlistDeclAsync().