108 references to QualifiedName
System.Data (15)
fx\src\data\System\Data\DataSet.cs (1)
3653
IList values = schemas.GetSchemas(element.
QualifiedName
.Namespace);
fx\src\data\System\Data\XMLSchema.cs (14)
175
elementsTable[elem.
QualifiedName
] = elem;
359
DataTable table = _ds.Tables.GetTable(XmlConvert.DecodeName(typeName), element.
QualifiedName
.Namespace);
654
qnames.Add(sel.
QualifiedName
);
669
if (!qnames.Contains(element.
QualifiedName
)) {
676
if (RefTables.Contains(element.
QualifiedName
.Namespace +":"+ typeName)) {
1231
_TableUri = node.
QualifiedName
.Namespace;
1341
_TableUri = node.
QualifiedName
.Namespace;
2125
if ((Common.ADP.IsEmpty(elem.
QualifiedName
.Namespace) && Common.ADP.IsEmpty(column._columnUri)) || // backward compatability :SQL BU DT 310912
2126
(string.Compare(elem.
QualifiedName
.Namespace, column.Namespace, StringComparison.Ordinal) == 0))
2161
if (!elem.RefName.IsEmpty || elem.
QualifiedName
.Namespace != table.Namespace)
2163
column.Namespace = elem.
QualifiedName
.Namespace;
2180
column.Namespace = elem.
QualifiedName
.Namespace;
2215
string dsNamespace = node.
QualifiedName
.Namespace;
2281
DataTable tempTable = _ds.Tables.GetTable(XmlConvert.DecodeName(GetInstanceName((XmlSchemaElement)el)), node.
QualifiedName
.Namespace);
System.Data.Services.Design (2)
System\Data\EntityModel\EntityClassGenerator.cs (1)
292
if (e.
QualifiedName
== new XmlQualifiedName("ReferentialConstraint", csdlSchema.TargetNamespace))
System\Data\Services\Design\Xml\XNodeSchemaApplier.cs (1)
154
if (schemaElement.
QualifiedName
== elementName)
System.Runtime.Serialization (3)
System\Runtime\Serialization\SchemaImporter.cs (3)
93
ImportAnonymousGlobalElement(element, element.
QualifiedName
, schema.TargetNamespace);
122
elementTypeNames[i++] = ImportAnonymousElement(element, element.
QualifiedName
).StableName;
126
elementTypeNames[i++] = ImportAnonymousGlobalElement(element, element.
QualifiedName
, schema.TargetNamespace).StableName;
System.ServiceModel (1)
System\ServiceModel\Description\MessageContractImporter.cs (1)
2074
XmlMembersMapping membersMapping = xmlImporter.ImportMembersMapping(new XmlQualifiedName[] { element.
QualifiedName
});
System.ServiceModel.Web (13)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (13)
236
context.writer.WriteStartElement(element.
QualifiedName
.Name, element.
QualifiedName
.Namespace);
239
string value = contentElement.
QualifiedName
.Name;
240
if (contentElement.
QualifiedName
.Namespace != element.
QualifiedName
.Namespace && !String.IsNullOrEmpty(contentElement.
QualifiedName
.Namespace))
242
string prefix = context.writer.LookupPrefix(contentElement.
QualifiedName
.Namespace);
246
context.writer.WriteAttributeString(XmlNamespacePrefix, prefix, null, contentElement.
QualifiedName
.Namespace);
248
value = String.Format(CultureInfo.InvariantCulture, "{0}:{1}", prefix, contentElement.
QualifiedName
.Name);
297
context.writer.WriteStartElement(element.
QualifiedName
.Name, element.
QualifiedName
.Namespace);
397
context.knownTypes.TryGetValue(contentElement.
QualifiedName
, out derivedType);
446
context.writer.WriteStartElement(element.
QualifiedName
.Name);
System.Xml (74)
System\Xml\Dom\DocumentSchemaValidator.cs (1)
107
partialValidationType = schemas.GlobalElements[schemaElement.
QualifiedName
]; //Get Global element with correct Nillable, Default etc
System\Xml\Schema\ContentValidator.cs (3)
948
XmlSchemaSubstitutionGroup grp = (XmlSchemaSubstitutionGroup)substitutionGroups[elem.
QualifiedName
];
953
if (!elem.
QualifiedName
.Equals(member.
QualifiedName
) && !particles.Contains(member)) { //A member might have been directly present as an element in the content model
System\Xml\Schema\Inference\Infer.cs (1)
225
if (elem.Name == xtr.LocalName && elem.
QualifiedName
.Namespace == xtr.NamespaceURI)
System\Xml\Schema\Preprocessor.cs (2)
662
AddToTable(schema.Elements, element.
QualifiedName
, element);
690
AddToTable(schema.Elements, element.
QualifiedName
, element);
System\Xml\Schema\SchemaCollectionCompiler.cs (19)
217
schemaInfo.TargetNamespaces[element.
QualifiedName
.Namespace] = true;
218
schemaInfo.ElementDecls.Add(element.
QualifiedName
, element.ElementDecl);
358
XmlSchemaSubstitutionGroupV1Compat g = (XmlSchemaSubstitutionGroupV1Compat)examplars[element.
QualifiedName
];
386
SendValidationEvent(Res.Sch_InvalidSubstitutionMember, (element.
QualifiedName
).ToString(), (examplar.
QualifiedName
).ToString(), element);
879
XmlSchemaSubstitutionGroupV1Compat substitutionGroup = (XmlSchemaSubstitutionGroupV1Compat)examplars[element.
QualifiedName
];
1117
return (derivedElement.
QualifiedName
== baseElement.
QualifiedName
) &&
1127
return baseAny.Allows(derivedElement.
QualifiedName
) &&
1866
decl.Name = xe.
QualifiedName
;
1947
if (!contentValidator.AddElement(localElement.
QualifiedName
, localElement, localElement.MinOccurs == decimal.Zero)) {
1948
SendValidationEvent(Res.Sch_DupElement, localElement.
QualifiedName
.ToString(), localElement);
1967
SendValidationEvent(Res.Sch_NonDeterministic, ((XmlSchemaElement)e.Particle1).
QualifiedName
.ToString(), (XmlSchemaElement)e.Particle2);
1970
SendValidationEvent(Res.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle2).NamespaceList.ToString(), ((XmlSchemaElement)e.Particle1).
QualifiedName
.ToString(), (XmlSchemaAny)e.Particle2);
1975
SendValidationEvent(Res.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle1).NamespaceList.ToString(), ((XmlSchemaElement)e.Particle2).
QualifiedName
.ToString(), (XmlSchemaAny)e.Particle1);
2065
contentValidator.AddName(element.
QualifiedName
, element);
2116
if (complexType.LocalElements[localElement.
QualifiedName
] == null) {
2117
complexType.LocalElements.Add(localElement.
QualifiedName
, localElement);
2120
XmlSchemaElement element = (XmlSchemaElement)complexType.LocalElements[localElement.
QualifiedName
];
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
417
AddToTable(schema.Elements, element.
QualifiedName
, element);
464
AddToTable(schema.Elements, element.
QualifiedName
, element);
System\Xml\Schema\SchemaSetCompiler.cs (26)
57
AddToTable(elements, element.
QualifiedName
, element);
120
schemaInfo.ElementDecls.Add(element.
QualifiedName
, element.ElementDecl);
359
SendValidationEvent(Res.Sch_InvalidSubstitutionMember, (element.
QualifiedName
).ToString(), (headElement.
QualifiedName
).ToString(), element);
403
XmlSchemaSubstitutionGroup g = (XmlSchemaSubstitutionGroup)examplars[element.
QualifiedName
];
973
XmlSchemaSubstitutionGroup substitutionGroup = (XmlSchemaSubstitutionGroup)examplars[element.
QualifiedName
];
1306
if(! ((derivedElement.
QualifiedName
== baseElement.
QualifiedName
) &&
1313
restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromElement, derivedElement.
QualifiedName
, baseElement.
QualifiedName
);
1320
if (!baseAny.Allows(derivedElement.
QualifiedName
)) {
1321
restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromAnyRule1, derivedElement.
QualifiedName
.ToString());
1325
restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromAnyRule2, derivedElement.
QualifiedName
.ToString());
1421
restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromGroupBase1, derivedElement.
QualifiedName
.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1431
restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromGroupBase2, derivedElement.
QualifiedName
.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
1441
restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromGroupBase3, derivedElement.
QualifiedName
.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo));
2213
decl.Name = xe.
QualifiedName
;
2302
if (!contentValidator.AddElement(localElement.
QualifiedName
, localElement, localElement.MinOccurs == decimal.Zero)) {
2303
SendValidationEvent(Res.Sch_DupElement, localElement.
QualifiedName
.ToString(), localElement);
2322
SendValidationEvent(Res.Sch_NonDeterministic, ((XmlSchemaElement)e.Particle1).
QualifiedName
.ToString(), (XmlSchemaElement)e.Particle2);
2325
SendValidationEvent(Res.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle2).ResolvedNamespace, ((XmlSchemaElement)e.Particle1).
QualifiedName
.ToString(), (XmlSchemaAny)e.Particle2);
2330
SendValidationEvent(Res.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle1).ResolvedNamespace, ((XmlSchemaElement)e.Particle2).
QualifiedName
.ToString(), (XmlSchemaElement)e.Particle2);
2421
contentValidator.AddName(element.
QualifiedName
, element);
2473
if (complexType.LocalElements[localElement.
QualifiedName
] == null) {
2474
complexType.LocalElements.Add(localElement.
QualifiedName
, localElement);
2477
XmlSchemaElement element = (XmlSchemaElement)complexType.LocalElements[localElement.
QualifiedName
];
System\Xml\Schema\XmlSchemaParticle.cs (1)
135
return elem.
QualifiedName
;
System\Xml\Schema\XmlSchemaSet.cs (5)
978
XmlSchemaSubstitutionGroup g = (XmlSchemaSubstitutionGroup)substTable[element.
QualifiedName
];
1100
if(!AddToTable(elements, element.
QualifiedName
, element)) {
1134
elements.Remove(elementToRemove.
QualifiedName
);
1277
XmlSchemaElement elem = (XmlSchemaElement)elements[elementToRemove.
QualifiedName
];
1279
elements.Remove(elementToRemove.
QualifiedName
);
System\Xml\Schema\XmlSchemaValidator.cs (4)
1156
head = headElement.
QualifiedName
;
1167
SendValidationEvent(Res.Sch_InvalidElementSubstitution, BuildElementName(elementName), BuildElementName(matchedElem.
QualifiedName
));
1360
if (elementName.Equals(element.
QualifiedName
)) {
1364
SendValidationEvent(Res.Sch_SchemaElementNameMismatch, elementName.ToString(), element.
QualifiedName
.ToString());
System\Xml\Serialization\Mappings.cs (1)
1094
if (e.Name == element.Name && e.
QualifiedName
.Namespace == elementNs) {
System\Xml\Serialization\SchemaObjectWriter.cs (5)
71
return ((XmlSchemaElement)o).
QualifiedName
;
822
if (o.
QualifiedName
!= null && !o.
QualifiedName
.IsEmpty && o.
QualifiedName
.Namespace != null && o.
QualifiedName
.Namespace.Length != 0) {
System\Xml\Serialization\XmlSchemaImporter.cs (4)
926
AddScopeElement(choiceElements, ImportElement(elements[j], identifier, typeof(TypeMapping), null, elements[j].
QualifiedName
.Namespace, true), ref duplicateElements, allowDuplicates);
930
AddScopeElement(choiceElements, ImportElement(element, identifier, typeof(TypeMapping), null, element.
QualifiedName
.Namespace, false), ref duplicateElements, allowDuplicates);
1813
return element.
QualifiedName
.Namespace == null || element.
QualifiedName
.Namespace.Length == 0 ? XmlSchemaForm.Unqualified : XmlSchemaForm.Qualified;