Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ PreprocessNotation()

void System.Xml.Schema.SchemaCollectionPreprocessor.PreprocessNotation ( XmlSchemaNotation notation)
inlineprivate

Definition at line 1442 of file SchemaCollectionPreprocessor.cs.

1443 {
1444 if (notation.Name != null)
1445 {
1447 notation.QualifiedName = new XmlQualifiedName(notation.Name, _targetNamespace);
1448 }
1449 else
1450 {
1452 }
1453 if (notation.Public != null)
1454 {
1455 try
1456 {
1457 XmlConvert.ToUri(notation.Public);
1458 }
1459 catch
1460 {
1462 }
1463 }
1464 else
1465 {
1467 }
1468 if (notation.System != null)
1469 {
1470 try
1471 {
1472 XmlConvert.ToUri(notation.System);
1473 }
1474 catch
1475 {
1477 }
1478 }
1481 }
static string Sch_InvalidPublicAttribute
Definition SR.cs:1126
static string Sch_InvalidSystemAttribute
Definition SR.cs:1128
static string Sch_MissRequiredAttribute
Definition SR.cs:490
Definition SR.cs:7
void SendValidationEvent(string code, XmlSchemaObject source)

References System.Xml.Schema.SchemaCollectionPreprocessor._targetNamespace, System.Xml.Dictionary, System.Xml.Schema.SchemaCollectionPreprocessor.PreprocessAnnotation(), System.SR.Sch_InvalidPublicAttribute, System.SR.Sch_InvalidSystemAttribute, System.SR.Sch_MissRequiredAttribute, System.Xml.Schema.BaseProcessor.SendValidationEvent(), System.Xml.XmlConvert.ToUri(), System.Xml.Schema.SchemaCollectionPreprocessor.ValidateIdAttribute(), and System.Xml.Schema.SchemaCollectionPreprocessor.ValidateNameAttribute().

Referenced by System.Xml.Schema.SchemaCollectionPreprocessor.Preprocess().