System\Xml\Core\XmlWellFormedWriter.cs (17)
272nsStack[0].Set("xmlns", XmlReservedNs.NsXmlNs, NamespaceKind.Special);
273nsStack[1].Set("xml", XmlReservedNs.NsXml, NamespaceKind.Special);
576if (!(localName == "xmlns" && namespaceName == XmlReservedNs.NsXmlNs))
594if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs) {
611if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXmlNs) {
619if (namespaceName.Length > 0 && namespaceName != XmlReservedNs.NsXml) {
689writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs);
701if (value == XmlReservedNs.NsXmlNs || (value == XmlReservedNs.NsXml && curDeclPrefix != "xml")) {
716writer.WriteStartAttribute("xmlns", curDeclPrefix, XmlReservedNs.NsXmlNs);
736writer.WriteStartAttribute("xml", "space", XmlReservedNs.NsXml);
743writer.WriteStartAttribute("xml", "lang", XmlReservedNs.NsXml);
1432if ((ns == XmlReservedNs.NsXml && prefix != "xml") ||
1433(ns == XmlReservedNs.NsXmlNs && prefix != "xmlns")) {
1502if ((ns == XmlReservedNs.NsXml && prefix != "xml") ||
1503(ns == XmlReservedNs.NsXmlNs && prefix != "xmlns")) {
1508if (ns != XmlReservedNs.NsXml) {
System\Xml\Schema\DataTypeImplementation.cs (10)
112internal static XmlQualifiedName QnAnySimpleType = new XmlQualifiedName("anySimpleType",XmlReservedNs.NsXs);
113internal static XmlQualifiedName QnAnyType = new XmlQualifiedName("anyType",XmlReservedNs.NsXs);
215qname = new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs);
229qname = new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs);
246XmlSchemaSimpleType derivedType = (XmlSchemaSimpleType) builtinTypes[new XmlQualifiedName(sdm.Name, XmlReservedNs.NsXs)];
253baseType = (XmlSchemaSimpleType) builtinTypes[new XmlQualifiedName( ((SchemaDatatypeMap)(c_XsdTypes[sdm.ParentIndex])).Name, XmlReservedNs.NsXs)];
259qname = new XmlQualifiedName("anyAtomicType", XmlReservedNs.NsXQueryDataType);
267qname = new XmlQualifiedName("untypedAtomic", XmlReservedNs.NsXQueryDataType);
275qname = new XmlQualifiedName("yearMonthDuration", XmlReservedNs.NsXQueryDataType);
283qname = new XmlQualifiedName("dayTimeDuration", XmlReservedNs.NsXQueryDataType);