159 references to XmlReservedNs
dotnet-svcutil-lib (159)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (2)
363_nsxmlns = _xnt.Add(XmlReservedNs.NsXmlNs); 381AddInitNamespace(_xml, _xnt.Add(XmlReservedNs.NsXml));
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (2)
106_idxNmsp = NewNamespaceNode(out _pageNmsp, _nameTable.Add("xml"), _nameTable.Add(XmlReservedNs.NsXml), null, 0); 487Debug.Assert(!prefix.Equals("xmlns") && !namespaceName.Equals(XmlReservedNs.NsXmlNs));
FrameworkFork\Microsoft.Xml\Xml\Core\XmlEventCache.cs (1)
227writer.WriteAttributeString("xmlns", page[idxEvent].String1, XmlReservedNs.NsXmlNs, page[idxEvent].String2);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlSubtreeReader.cs (1)
104_xmlnsUri = reader.NameTable.Add(XmlReservedNs.NsXmlNs);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (6)
5159attr.ns = _nameTable.Add(XmlReservedNs.NsXmlNs); 7926if (uri == XmlReservedNs.NsXmlNs) 7937else if (uri == XmlReservedNs.NsXml) 9229_nameTable.Add(XmlReservedNs.NsXs); // Note: this is equal to XmlReservedNs.NsXsd in Everett 9230_nameTable.Add(XmlReservedNs.NsXsi); 9231_nameTable.Add(XmlReservedNs.NsDataType);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextWriter.cs (5)
558if (ns == XmlReservedNs.NsXmlNs && prefix == null && localName != "xmlns") 582if (XmlReservedNs.NsXmlNs != ns && ns != null) 600if (XmlReservedNs.NsXmlNs != ns && ns != null) 1413if (XmlReservedNs.NsXmlNs == ns) 1722if (XmlReservedNs.NsXml != ns)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlValidatingReaderImpl.cs (1)
849if (schemaTypeObj != null && schemaTypeObj.QualifiedName.Namespace == XmlReservedNs.NsXs)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (17)
277_nsStack[0].Set("xmlns", XmlReservedNs.NsXmlNs, NamespaceKind.Special); 278_nsStack[1].Set("xml", XmlReservedNs.NsXml, NamespaceKind.Special); 653if (!(localName == "xmlns" && namespaceName == XmlReservedNs.NsXmlNs)) 677if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs) 700if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs) 710if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXml) 797_writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs); 810if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml && _curDeclPrefix != "xml")) 831_writer.WriteStartAttribute("xmlns", _curDeclPrefix, XmlReservedNs.NsXmlNs); 854_writer.WriteStartAttribute("xml", "space", XmlReservedNs.NsXml); 861_writer.WriteStartAttribute("xml", "lang", XmlReservedNs.NsXml); 1740if ((ns == XmlReservedNs.NsXml && prefix != "xml") || 1741(ns == XmlReservedNs.NsXmlNs && prefix != "xmlns")) 1824if ((ns == XmlReservedNs.NsXml && prefix != "xml") || 1825(ns == XmlReservedNs.NsXmlNs && prefix != "xmlns")) 1833if (ns != XmlReservedNs.NsXml)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriterHelpers.cs (2)
109writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs); 113writer.WriteStartAttribute("xmlns", prefix, XmlReservedNs.NsXmlNs);
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriter.cs (2)
652WriteAttributeString(string.Empty, "xmlns", XmlReservedNs.NsXmlNs, ns); 656WriteAttributeString("xmlns", prefix, XmlReservedNs.NsXmlNs, ns);
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (3)
168_nsXmlNs = _coreReaderNameTable.Add(XmlReservedNs.NsXmlNs); 169_nsXs = _coreReaderNameTable.Add(XmlReservedNs.NsXs); 170_nsXsi = _coreReaderNameTable.Add(XmlReservedNs.NsXsi);
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (2)
79_nsXmlNs = _nameTable.Add(XmlReservedNs.NsXmlNs); 80_nsXsi = _nameTable.Add(XmlReservedNs.NsXsi);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlDocument.cs (2)
114strReservedXmlns = nt.Add(XmlReservedNs.NsXmlNs); 115strReservedXml = nt.Add(XmlReservedNs.NsXml);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (7)
866return _nameTable.Add(XmlReservedNs.NsXmlNs); 870return _nameTable.Add(XmlReservedNs.NsXml); 918return _nameTable.Add(XmlReservedNs.NsXmlNs); 922return _nameTable.Add(XmlReservedNs.NsXml); 938if (namespaceName == XmlReservedNs.NsXmlNs) 942if (namespaceName == XmlReservedNs.NsXml) 1051dict.Add(_nameTable.Add("xml"), _nameTable.Add(XmlReservedNs.NsXml));
FrameworkFork\Microsoft.Xml\Xml\schema\BaseProcessor.cs (1)
34_nsXml = nameTable.Add(XmlReservedNs.NsXml);
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (10)
121internal static XmlQualifiedName QnAnySimpleType = new XmlQualifiedName("anySimpleType", XmlReservedNs.NsXs); 122internal static XmlQualifiedName QnAnyType = new XmlQualifiedName("anyType", XmlReservedNs.NsXs); 235qname = new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs); 251qname = new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs); 271XmlSchemaSimpleType derivedType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs)]; 280baseType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(((SchemaDatatypeMap)(s_xsdTypes[sdm.ParentIndex])).Name, XmlReservedNs.NsXs)]; 286qname = new XmlQualifiedName("anyAtomicType", XmlReservedNs.NsXQueryDataType); 294qname = new XmlQualifiedName("untypedAtomic", XmlReservedNs.NsXQueryDataType); 302qname = new XmlQualifiedName("yearMonthDuration", XmlReservedNs.NsXQueryDataType); 310qname = new XmlQualifiedName("dayTimeDuration", XmlReservedNs.NsXQueryDataType);
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (3)
318if (childURI == XmlReservedNs.NsXml) 1233if (_xtr.NamespaceURI == XmlReservedNs.NsXmlNs) 1238else if (_xtr.NamespaceURI == XmlReservedNs.NsXsi)
FrameworkFork\Microsoft.Xml\Xml\schema\Parser.cs (2)
408attr = _dummyDocument.CreateAttribute(string.Empty, _xmlns, XmlReservedNs.NsXmlNs); 412attr = _dummyDocument.CreateAttribute(_xmlns, prefix, XmlReservedNs.NsXmlNs);
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (12)
96_nsXsi = NameTable.Add(XmlReservedNs.NsXsi); 334if (importNS == XmlReservedNs.NsXml) 444tempSchema.TargetNamespace = XmlReservedNs.NsXml; 445tempSchema.Namespaces.Add("xml", XmlReservedNs.NsXml); 449lang.SchemaTypeName = new XmlQualifiedName("language", XmlReservedNs.NsXs); 454xmlbase.SchemaTypeName = new XmlQualifiedName("anyURI", XmlReservedNs.NsXs); 461r.BaseTypeName = new XmlQualifiedName("NCName", XmlReservedNs.NsXs); 476langRef.RefName = new XmlQualifiedName("lang", XmlReservedNs.NsXml); 479spaceRef.RefName = new XmlQualifiedName("space", XmlReservedNs.NsXml); 482baseRef.RefName = new XmlQualifiedName("base", XmlReservedNs.NsXml); 500_referenceNamespaces.Add(XmlReservedNs.NsXs, XmlReservedNs.NsXs);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (5)
151if (include is XmlSchemaImport && ((XmlSchemaImport)include).Namespace == XmlReservedNs.NsXml) 207if (include is XmlSchemaImport && ((XmlSchemaImport)include).Namespace == XmlReservedNs.NsXml) 273_referenceNamespaces.Add(XmlReservedNs.NsXs, XmlReservedNs.NsXs); 888if (_schema.TargetNamespace == XmlReservedNs.NsXsi)
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaNames.cs (9)
171NsDataType = nameTable.Add(XmlReservedNs.NsDataType); 172NsDataTypeAlias = nameTable.Add(XmlReservedNs.NsDataTypeAlias); 173NsDataTypeOld = nameTable.Add(XmlReservedNs.NsDataTypeOld); 174NsXml = nameTable.Add(XmlReservedNs.NsXml); 175NsXmlNs = nameTable.Add(XmlReservedNs.NsXmlNs); 176NsXdr = nameTable.Add(XmlReservedNs.NsXdr); 177NsXdrAlias = nameTable.Add(XmlReservedNs.NsXdrAlias); 178NsXs = nameTable.Add(XmlReservedNs.NsXs); 179NsXsi = nameTable.Add(XmlReservedNs.NsXsi);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaNamespaceManager.cs (2)
24return XmlReservedNs.NsXml; 42if (ns == XmlReservedNs.NsXml)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (7)
28public const string Namespace = XmlReservedNs.NsXs; 33public const string InstanceNamespace = XmlReservedNs.NsXsi; 186ignoreXS = this.Namespaces.Namespaces["xs"] != null || this.Namespaces.Namespaces.ContainsValue(XmlReservedNs.NsXs); 188if (!ignoreXS && namespaceManager.LookupPrefix(XmlReservedNs.NsXs) == null && 191ns.Add("xs", XmlReservedNs.NsXs); 204if (serializerNS["xs"] == null && !serializerNS.ContainsValue(XmlReservedNs.NsXs)) 206serializerNS.Add("xs", XmlReservedNs.NsXs);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAttribute.cs (1)
150if (_attributeType.QualifiedName.Namespace == XmlReservedNs.NsXs)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (1)
52s_untypedAnyType.SetQualifiedName(new XmlQualifiedName("untypedAny", XmlReservedNs.NsXQueryDataType));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaDocumentation.cs (1)
24private static XmlSchemaSimpleType s_languageType = DatatypeImplementation.GetSimpleTypeFromXsdType(new XmlQualifiedName("language", XmlReservedNs.NsXs));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaElement.cs (1)
240if (_elementType.QualifiedName.Namespace == XmlReservedNs.NsXs)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSet.cs (5)
765if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 781if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 1079if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 1095if (_schemaForSchema == null && tns == XmlReservedNs.NsXs && schema.SchemaTypes[DatatypeImplementation.QnAnyType] != null) 1571if (qname.Namespace == XmlReservedNs.NsXml)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaType.cs (1)
146if (_baseSchemaType.QualifiedName.Namespace == XmlReservedNs.NsXs)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (8)
225_nsXs = _nameTable.Add(XmlReservedNs.NsXs); 226_nsXsi = _nameTable.Add(XmlReservedNs.NsXsi); 227_nsXmlNs = _nameTable.Add(XmlReservedNs.NsXmlNs); 228_nsXml = _nameTable.Add(XmlReservedNs.NsXml); 2493tempXsiTypeSO.SetQualifiedName(new XmlQualifiedName("type", XmlReservedNs.NsXsi)); 2501tempxsiNilSO.SetQualifiedName(new XmlQualifiedName("nil", XmlReservedNs.NsXsi)); 2510tempxsiSLSO.SetQualifiedName(new XmlQualifiedName("schemaLocation", XmlReservedNs.NsXsi)); 2519tempxsiNoNsSLSO.SetQualifiedName(new XmlQualifiedName("noNamespaceSchemaLocation", XmlReservedNs.NsXsi));
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (2)
580else if (name.Namespace == XmlReservedNs.NsXs) 584else if (name.Namespace == XmlReservedNs.NsXQueryDataType)
FrameworkFork\Microsoft.Xml\Xml\schema\xsdvalidator.cs (3)
77_nsXmlNs = NameTable.Add(XmlReservedNs.NsXmlNs); 78_nsXs = NameTable.Add(XmlReservedNs.NsXs); 79_nsXsi = NameTable.Add(XmlReservedNs.NsXsi);
FrameworkFork\Microsoft.Xml\Xml\Serialization\Mappings.cs (2)
239Namespace = XmlReservedNs.NsXml; 244if (Namespace == XmlReservedNs.NsXml)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaImporter.cs (1)
47if (!schemas.Contains(XmlReservedNs.NsXml))
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (2)
730AddSchemaImport(XmlReservedNs.NsXml, ns); 735attribute.RefName = new XmlQualifiedName(accessor.Name, XmlReservedNs.NsXml);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (2)
1696accessor.Namespace = XmlReservedNs.NsXml; 1707if (attribute.RefName.Namespace == XmlReservedNs.NsXml)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemas.cs (1)
766if (!SchemaSet.Contains(XmlReservedNs.NsXml))
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSerializationWriter.cs (3)
402if (ns == XmlReservedNs.NsXml) 968if (ns == XmlReservedNs.NsXml) 1001if (ns == XmlReservedNs.NsXml)
FrameworkFork\Microsoft.Xml\Xml\ValidateNames.cs (3)
459return s.Equals(XmlReservedNs.NsXml) || s.Equals(XmlReservedNs.NsXmlNs); 581if (!ns.Equals(XmlReservedNs.NsXml))
FrameworkFork\Microsoft.Xml\Xml\XmlNamespaceManager.cs (3)
82_nsdecls[1].Set(_xmlNs, nameTable.Add(XmlReservedNs.NsXmlNs), -1, -1); 83_nsdecls[2].Set(_xml, nameTable.Add(XmlReservedNs.NsXml), 0, -1); 142if ((Ref.Equal(_xml, prefix) && !uri.Equals(XmlReservedNs.NsXml)))
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\AttributeQuery.cs (1)
50Debug.Assert(!currentNode.NamespaceURI.Equals(XmlReservedNs.NsXmlNs));
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathDocument.cs (1)
190xmlnsUri = _nameTable.Get(XmlReservedNs.NsXmlNs);
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (9)
476return XmlReservedNs.NsXml; 478return XmlReservedNs.NsXmlNs; 513else if (namespaceURI == XmlReservedNs.NsXml) 515else if (namespaceURI == XmlReservedNs.NsXmlNs) 540dict["xml"] = XmlReservedNs.NsXml; 597if (navClone.MoveToAttribute("lang", XmlReservedNs.NsXml)) 684return XmlReservedNs.NsXml; 686return XmlReservedNs.NsXmlNs; 2124string xmlnsUri = XmlReservedNs.NsXmlNs; // http://www.w3.org/2000/xmlns/
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (4)
209return this.NameTable.Add(XmlReservedNs.NsXmlNs); 271if (tempNav.MoveToAttribute(XPathNavigatorReader.space, XmlReservedNs.NsXml)) 483if (namespaceURI == XmlReservedNs.NsXmlNs) 571if (namespaceName == XmlReservedNs.NsXmlNs)