1470 {
1472 {
1474 {
1476 }
1477 }
1478 else
1479 {
1481 {
1484 }
1485 else
1486 {
1488 }
1489 if (
complexType.Block == XmlSchemaDerivationMethod.All)
1490 {
1491 complexType.SetBlockResolved(XmlSchemaDerivationMethod.All);
1492 }
1493 else if (
complexType.Block == XmlSchemaDerivationMethod.None)
1494 {
1495 complexType.SetBlockResolved(
_blockDefault & (XmlSchemaDerivationMethod.Extension | XmlSchemaDerivationMethod.Restriction));
1496 }
1497 else
1498 {
1500 {
1502 }
1503 complexType.SetBlockResolved(
complexType.Block & (XmlSchemaDerivationMethod.Extension | XmlSchemaDerivationMethod.Restriction));
1504 }
1505 if (
complexType.Final == XmlSchemaDerivationMethod.All)
1506 {
1507 complexType.SetFinalResolved(XmlSchemaDerivationMethod.All);
1508 }
1509 else if (
complexType.Final == XmlSchemaDerivationMethod.None)
1510 {
1512 {
1513 complexType.SetFinalResolved(XmlSchemaDerivationMethod.All);
1514 }
1515 else
1516 {
1517 complexType.SetFinalResolved(
_finalDefault & (XmlSchemaDerivationMethod.Extension | XmlSchemaDerivationMethod.Restriction));
1518 }
1519 }
1520 else
1521 {
1523 {
1525 }
1526 complexType.SetFinalResolved(
complexType.Final & (XmlSchemaDerivationMethod.Extension | XmlSchemaDerivationMethod.Restriction));
1527 }
1528 }
1530 {
1534 {
1536 }
1538 {
1541 {
1542 if (
complexType.QualifiedName == XmlQualifiedName.Empty)
1543 {
1545 }
1546 else
1547 {
1549 }
1550 }
1551 else
1552 {
1556 {
1559 {
1561 }
1562 else
1563 {
1565 }
1568 }
1569 else
1570 {
1573 {
1575 }
1576 else
1577 {
1579 }
1581 {
1584 }
1587 }
1588 }
1590 }
1591 else
1592 {
1595 {
1596 if (
complexType.QualifiedName == XmlQualifiedName.Empty)
1597 {
1599 }
1600 else
1601 {
1603 }
1604 }
1605 else
1606 {
1608 {
1610 }
1614 {
1617 {
1619 }
1620 else
1621 {
1623 }
1625 {
1628 }
1631 }
1632 else
1633 {
1636 {
1638 }
1639 else
1640 {
1642 }
1644 {
1647 }
1650 }
1652 }
1653 }
1654 }
1655 else
1656 {
1658 {
1661 }
1663 }
1665 }
static string Sch_InvalidComplexTypeBlockValue
static string Sch_InvalidComplexTypeFinalValue
static string Sch_NoRestOrExtQName
static string Sch_MissAttribute
static string Sch_NoRestOrExt
static string Sch_ForbiddenAttribute
static string Sch_MissRequiredAttribute
void SendValidationEvent(string code, XmlSchemaObject source)
void PreprocessAnnotation(XmlSchemaObject schemaObject)
void PreprocessAttributes(XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute, XmlSchemaObject parent)
void ValidateNameAttribute(XmlSchemaObject xso)
XmlSchemaDerivationMethod _blockDefault
void PreprocessParticle(XmlSchemaParticle particle)
void SetParent(XmlSchemaObject child, XmlSchemaObject parent)
void PreprocessSimpleType(XmlSchemaSimpleType simpleType, bool local)
void ValidateIdAttribute(XmlSchemaObject xso)
XmlSchemaDerivationMethod _finalDefault
void ValidateQNameAttribute(XmlSchemaObject xso, string attributeName, XmlQualifiedName value)