System\Xml\Core\XmlWellFormedWriter.cs (17)
263_nsStack[0].Set("xmlns", XmlReservedNs.NsXmlNs, NamespaceKind.Special);
264_nsStack[1].Set("xml", XmlReservedNs.NsXml, NamespaceKind.Special);
627if (!(localName == "xmlns" && namespaceName == XmlReservedNs.NsXmlNs))
646if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs)
669if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs)
679if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXml)
767_writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs);
780if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml && _curDeclPrefix != "xml"))
804_writer.WriteStartAttribute("xmlns", _curDeclPrefix, XmlReservedNs.NsXmlNs);
827_writer.WriteStartAttribute("xml", "space", XmlReservedNs.NsXml);
834_writer.WriteStartAttribute("xml", "lang", XmlReservedNs.NsXml);
1640if ((ns == XmlReservedNs.NsXml && prefix != "xml") ||
1641(ns == XmlReservedNs.NsXmlNs && prefix != "xmlns"))
1724if ((ns == XmlReservedNs.NsXml && prefix != "xml") ||
1725(ns == XmlReservedNs.NsXmlNs && prefix != "xmlns"))
1733if (ns != XmlReservedNs.NsXml)
System\Xml\Schema\DataTypeImplementation.cs (10)
117internal static readonly XmlQualifiedName QnAnySimpleType = new XmlQualifiedName("anySimpleType", XmlReservedNs.NsXs);
118internal static readonly XmlQualifiedName QnAnyType = new XmlQualifiedName("anyType", XmlReservedNs.NsXs);
229qname = new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs);
245qname = new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs);
266XmlSchemaSimpleType derivedType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs)]!;
275baseType = (XmlSchemaSimpleType)s_builtinTypes[new XmlQualifiedName(((SchemaDatatypeMap)(s_xsdTypes[sdm.ParentIndex])).Name, XmlReservedNs.NsXs)]!;
281qname = new XmlQualifiedName("anyAtomicType", XmlReservedNs.NsXQueryDataType);
289qname = new XmlQualifiedName("untypedAtomic", XmlReservedNs.NsXQueryDataType);
297qname = new XmlQualifiedName("yearMonthDuration", XmlReservedNs.NsXQueryDataType);
305qname = new XmlQualifiedName("dayTimeDuration", XmlReservedNs.NsXQueryDataType);