/dports/lang/mono/mono-5.10.1.57/mcs/class/System.XML/Test/System.Xml/ |
H A D | XmlNamespaceManagerTests.cs | 65 Assert.AreSame (xmlnsNamespace, namespaceManager.LookupNamespace ("xmlns")); in NewNamespaceManager() 66 Assert.AreSame (xmlNamespace, namespaceManager.LookupNamespace ("xml")); in NewNamespaceManager() 70 Assert.IsNull (namespaceManager.LookupNamespace ("foo")); in NewNamespaceManager() 80 Assert.AreEqual ("http://foo/", namespaceManager.LookupNamespace ("foo")); in AddNamespace() 84 Assert.AreEqual ("http://foo1/", namespaceManager.LookupNamespace ("foo")); in AddNamespace() 105 Assert.AreSame (fooNamespace, namespaceManager.LookupNamespace ("foo")); in AddNamespaceWithNameTable() 130 Assert.AreEqual ("http://foo/", namespaceManager.LookupNamespace ("foo")); in PushScope() 138 Assert.AreEqual ("http://foo/", namespaceManager.LookupNamespace ("foo")); in PushScope() 156 Assert.IsNull (namespaceManager.LookupNamespace ("bar")); in PopScope() 174 Assert.AreEqual ("urn:foo", namespaceManager.LookupNamespace ("foo")); in PopScopeMustKeepAddedInScope() [all …]
|
H A D | XmlValidatingReaderTests.cs | 878 Assert.AreEqual ("urn:bar", xvr.LookupNamespace ("bar"), "#1-2"); in DefaultXmlnsAttributeLookup() 880 Assert.AreEqual ("urn:baz", xvr.LookupNamespace ("baz"), "#1-a"); in DefaultXmlnsAttributeLookup() 889 Assert.AreEqual ("urn:bar", xvr.LookupNamespace ("bar"), "#2-2"); in DefaultXmlnsAttributeLookup() 892 Assert.AreEqual ("urn:bar", xvr.LookupNamespace ("bar"), "#3-2"); in DefaultXmlnsAttributeLookup() 895 Assert.AreEqual ("urn:bar", xvr.LookupNamespace ("bar"), "#4-2"); in DefaultXmlnsAttributeLookup() 898 Assert.AreEqual ("urn:bar", xvr.LookupNamespace ("bar"), "#5-2"); in DefaultXmlnsAttributeLookup() 900 Assert.AreEqual (null, xvr.LookupNamespace (String.Empty), "#6-1"); in DefaultXmlnsAttributeLookup() 901 Assert.AreEqual ("urn:hoge", xvr.LookupNamespace ("bar"), "#6-2"); in DefaultXmlnsAttributeLookup() 903 Assert.AreEqual (null, xvr.LookupNamespace (String.Empty), "#7-1"); in DefaultXmlnsAttributeLookup() 904 Assert.AreEqual ("urn:hoge", xvr.LookupNamespace ("bar"), "#7-2"); in DefaultXmlnsAttributeLookup() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Test/System.ServiceModel.Dispatcher/ |
H A D | XPathMessageContextTest.cs | 47 Assert.AreEqual (Constants.Soap11, ctx.LookupNamespace ("s11"), "#1"); in PredefinedNamespaces() 48 Assert.AreEqual (Constants.Soap12, ctx.LookupNamespace ("s12"), "#2"); in PredefinedNamespaces() 52 Assert.IsNull (ctx.LookupNamespace (c + ""), "char:" + c); in PredefinedNamespaces() 54 Assert.IsNull (ctx.LookupNamespace ("wsa"), "#3"); in PredefinedNamespaces() 55 Assert.IsNull (ctx.LookupNamespace ("wsu"), "#4"); in PredefinedNamespaces()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml.Linq/tests/xNodeReader/ |
H A D | CXMLGeneralTest.cs | 334 … TestLog.Compare(DataReader.LookupNamespace("a"), strA, "Compare LookupNamespace-a"); in CompareAllNS() 335 … TestLog.Compare(DataReader.LookupNamespace("b"), strB, "Compare LookupNamespace-b"); in CompareAllNS() 336 … TestLog.Compare(DataReader.LookupNamespace("c"), strC, "Compare LookupNamespace-c"); in CompareAllNS() 457 string ns = DataReader.LookupNamespace("p"); in LookupNamespace8() 470 TestLog.Compare(DataReader.LookupNamespace("q1"), ns, "q11"); in LookupNamespace9() 471 TestLog.Compare(DataReader.LookupNamespace("q2"), null, "q21"); in LookupNamespace9() 475 TestLog.Compare(DataReader.LookupNamespace("q1"), ns, "q12"); in LookupNamespace9() 476 TestLog.Compare(DataReader.LookupNamespace("q2"), ns, "q22"); in LookupNamespace9() 485 TestLog.Compare(DataReader.LookupNamespace("p"), "1", "ln ROOT"); in LookupNamespace10() 487 TestLog.Compare(DataReader.LookupNamespace("p"), "1", "ln E1"); in LookupNamespace10() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Serialization.Xml/tests/Canonicalization/CryptoCanonicalization/ |
H A D | AncestralNamespaceContextProviderProxy.cs | 13 string LookupNamespace(string prefix); in LookupNamespace() method 37 public string LookupNamespace(string prefix) in LookupNamespace() method in System.Runtime.Serialization.Xml.Canonicalization.Tests.AncestralNamespaceContextProviderProxy.ReaderAncestralNamespaceContextProvider 39 return _reader.LookupNamespace(prefix); in LookupNamespace()
|
H A D | CanonicalWriter.cs | 194 if (prefix != null && LookupNamespace(prefix) == null) in AutoGeneratePrefix() 208 while (LookupNamespace(prefix) != null); in AutoGeneratePrefix() 239 private string LookupNamespace(string prefix) in LookupNamespace() method in System.Runtime.Serialization.Xml.Canonicalization.Tests.CanonicalWriter 246 string ns = _manager.LookupNamespace(prefix); in LookupNamespace() 680 if (_state != WriteState.Attribute || LookupNamespace(string.Empty) != null) in WriteQualifiedName() 814 ns = LookupNamespace(prefix); in WriteStartAttributeCore() 908 ns = LookupNamespace(prefix); in WriteStartElementCore()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Dispatcher/ |
H A D | XPathMessageFilter.cs | 569 ns = namespaces.LookupNamespace(prefix); in ReadXPath() 577 ns = reader.LookupNamespace(prefix); in ReadXPath() 632 string nsNS = resolver.LookupNamespace(nsPrefix); in WriteXPath() 635 …ength > 0 && (nsNS == null || (nsNS != null && nsNS != this.namespaces.LookupNamespace(nsPrefix)))) in WriteXPath() 657 …while (resolver.LookupNamespace(newPrefix) != null || this.namespaces.LookupNamespace(newPrefix) !… in WriteXPath() 684 …er.WriteAttributeString("xmlns", prefixMap[prefix], null, this.namespaces.LookupNamespace(prefix)); in WriteXPath() 735 resolver.AddNamespace(pre, this.namespaces.LookupNamespace(pre)); in WriteXPathTo()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Xml/System/Xml/Core/ |
H A D | XmlValidatingReader.cs | 172 public override String LookupNamespace( String prefix ) { in LookupNamespace() method in System.Xml.XmlValidatingReader 173 string ns = impl.LookupNamespace( prefix ); in LookupNamespace() 232 string IXmlNamespaceResolver.LookupNamespace(string prefix) { in IXmlNamespaceResolver.LookupNamespace() 233 return impl.LookupNamespace( prefix ); in IXmlNamespaceResolver.LookupNamespace()
|
H A D | XmlTextReader.cs | 232 public override String LookupNamespace( String prefix ) { in LookupNamespace() method in System.Xml.XmlTextReader 233 string ns = impl.LookupNamespace( prefix ); in LookupNamespace() 299 string IXmlNamespaceResolver.LookupNamespace(string prefix) { in IXmlNamespaceResolver.LookupNamespace() 300 return impl.LookupNamespace( prefix ); in IXmlNamespaceResolver.LookupNamespace()
|
H A D | XmlAsyncCheckReader.cs | 460 public override string LookupNamespace(string prefix) { in LookupNamespace() method in System.Xml.XmlAsyncCheckReader 462 return coreReader.LookupNamespace(prefix); in LookupNamespace() 798 string IXmlNamespaceResolver.LookupNamespace(string prefix) in IXmlNamespaceResolver.LookupNamespace() 800 return readerAsIXmlNamespaceResolver.LookupNamespace(prefix); in IXmlNamespaceResolver.LookupNamespace() 854 string IXmlNamespaceResolver.LookupNamespace(string prefix) { in IXmlNamespaceResolver.LookupNamespace() 855 return readerAsIXmlNamespaceResolver.LookupNamespace(prefix); in IXmlNamespaceResolver.LookupNamespace()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/src/System/Xml/Core/ |
H A D | XmlValidatingReader.cs | 202 public override String LookupNamespace(String prefix) in LookupNamespace() method in System.Xml.XmlValidatingReader 204 string ns = _impl.LookupNamespace(prefix); in LookupNamespace() 273 string IXmlNamespaceResolver.LookupNamespace(string prefix) in IXmlNamespaceResolver.LookupNamespace() 275 return _impl.LookupNamespace(prefix); in IXmlNamespaceResolver.LookupNamespace()
|
H A D | XmlTextReader.cs | 266 public override String LookupNamespace(String prefix) in LookupNamespace() method in System.Xml.XmlTextReader 268 string ns = _impl.LookupNamespace(prefix); in LookupNamespace() 345 string IXmlNamespaceResolver.LookupNamespace(string prefix) in IXmlNamespaceResolver.LookupNamespace() 347 return _impl.LookupNamespace(prefix); in IXmlNamespaceResolver.LookupNamespace()
|
H A D | XmlAsyncCheckReader.cs | 545 public override string LookupNamespace(string prefix) in LookupNamespace() method in System.Xml.XmlAsyncCheckReader 548 return _coreReader.LookupNamespace(prefix); in LookupNamespace() 934 string IXmlNamespaceResolver.LookupNamespace(string prefix) in IXmlNamespaceResolver.LookupNamespace() 936 return _readerAsIXmlNamespaceResolver.LookupNamespace(prefix); in IXmlNamespaceResolver.LookupNamespace() 996 string IXmlNamespaceResolver.LookupNamespace(string prefix) in IXmlNamespaceResolver.LookupNamespace() 998 return _readerAsIXmlNamespaceResolver.LookupNamespace(prefix); in IXmlNamespaceResolver.LookupNamespace()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/tests/XmlReaderLib/ |
H A D | CXMLGeneralTest.cs | 783 CError.Compare(DataReader.LookupNamespace("a"), strA, "Compare LookupNamespace-a"); in CompareAllNS() 784 CError.Compare(DataReader.LookupNamespace("b"), strB, "Compare LookupNamespace-b"); in CompareAllNS() 785 CError.Compare(DataReader.LookupNamespace("c"), strC, "Compare LookupNamespace-c"); in CompareAllNS() 913 string ns = DataReader.LookupNamespace("p"); in LookupNamespace8() 928 CError.Compare(DataReader.LookupNamespace("q1"), ns, "q11"); in LookupNamespace9() 929 CError.Compare(DataReader.LookupNamespace("q2"), null, "q21"); in LookupNamespace9() 933 CError.Compare(DataReader.LookupNamespace("q1"), ns, "q12"); in LookupNamespace9() 934 CError.Compare(DataReader.LookupNamespace("q2"), ns, "q22"); in LookupNamespace9() 950 CError.Compare(DataReader.LookupNamespace("p"), null, "ln ROOT"); in LookupNamespace10() 952 CError.Compare(DataReader.LookupNamespace("p"), null, "ln E1"); in LookupNamespace10() [all …]
|
/dports/irc/smuxi/smuxi-1.1/lib/agsxmpp/agsxmpp/Xml/Xpnet/ |
H A D | NamespaceStack.cs | 77 public string LookupNamespace(string prefix) in LookupNamespace() method in agsXMPP.Xml.Xpnet.NamespaceStack 92 get { return LookupNamespace(string.Empty); }
|
H A D | NS.cs | 87 public string LookupNamespace(string prefix) in LookupNamespace() method in agsXMPP.Xml.xpnet.NS 102 get { return LookupNamespace(string.Empty); }
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/src/System/Xml/Xsl/Xslt/ |
H A D | CompilerScopeManager.cs | 206 private string LookupNamespace(string prefix, int from, int to) in LookupNamespace() method in System.Xml.Xsl.Xslt.CompilerScopeManager 224 public string LookupNamespace(string prefix) in LookupNamespace() method in System.Xml.Xsl.Xslt.CompilerScopeManager 226 return LookupNamespace(prefix, _lastRecord, 0); in LookupNamespace() 363 … if (LookupNamespace(_records[currentRecord].ncName, _lastRecord, currentRecord + 1) != null) in GetActiveRecords() 398 …if (_scope.LookupNamespace(_scope._records[_currentRecord].ncName, _lastRecord, _currentRecord + 1… in MoveNext()
|
H A D | OutputScopeManager.cs | 121 string defaultNs = LookupNamespace(string.Empty); in InvalidateNonDefaultPrefixes() 140 public string LookupNamespace(string prefix) in LookupNamespace() method in System.Xml.Xsl.Xslt.OutputScopeManager
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Xml.Linq/Test/System.Xml.Linq/ |
H A D | XNodeReaderTest.cs | 193 public void LookupNamespace () in LookupNamespace() method in MonoTests.System.Xml.Linq.XNodeReaderTest 199 Assert.AreEqual ("http://example.com/schemas/asx", r.LookupNamespace (String.Empty), "#1"); in LookupNamespace() 200 Assert.IsNull (r.LookupNamespace ("nonexistent"), "#2"); in LookupNamespace() 202 Assert.IsNull (r.LookupNamespace (String.Empty), "#3"); in LookupNamespace()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Data.SqlXml/System/Xml/Xsl/Xslt/ |
H A D | CompilerScopeManager.cs | 176 private string LookupNamespace(string prefix, int from, int to) { in LookupNamespace() method in System.Xml.Xsl.Xslt.CompilerScopeManager 191 public string LookupNamespace(string prefix) { in LookupNamespace() method in System.Xml.Xsl.Xslt.CompilerScopeManager 192 return LookupNamespace(prefix, lastRecord, 0); in LookupNamespace() 303 … if (LookupNamespace(records[currentRecord].ncName, lastRecord, currentRecord + 1) != null) { in GetActiveRecords() 335 …if (scope.LookupNamespace(scope.records[currentRecord].ncName, lastRecord, currentRecord + 1) == n… in MoveNext()
|
H A D | OutputScopeManager.cs | 108 string defaultNs = LookupNamespace(string.Empty); in InvalidateNonDefaultPrefixes() 124 public string LookupNamespace(string prefix) { in LookupNamespace() method in System.Xml.Xsl.Xslt.OutputScopeManager
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Workflow.ComponentModel/AuthoringOM/Serializer/ |
H A D | XamlInterfaces.cs | 185 … type = manager.GetType(new XmlQualifiedName(typename, reader.LookupNamespace(prefix))); in ProvideValue() 191 …if (manager.XmlNamespaceBasedMappings.TryGetValue(reader.LookupNamespace(prefix), out xmlnsMapping… in ProvideValue() 196 … type = manager.GetType(new XmlQualifiedName(typename, reader.LookupNamespace(string.Empty))); in ProvideValue()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Xml/System/Xml/Schema/ |
H A D | Parser.cs | 318 string ns = annotationNSManager.LookupNamespace(r.Prefix); in LoadElementNode() 320 … XmlAttribute attr = CreateXmlNsAttribute(r.Prefix, namespaceManager.LookupNamespace(r.Prefix)); in LoadElementNode() 324 string elemNS = namespaceManager.LookupNamespace(r.Prefix); in LoadElementNode() 333 string attNS = annotationNSManager.LookupNamespace(r.Prefix); in LoadElementNode() 335 … XmlAttribute attr = CreateXmlNsAttribute(r.Prefix, namespaceManager.LookupNamespace(r.Prefix)); in LoadElementNode()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/src/System/Xml/Schema/ |
H A D | Parser.cs | 363 string ns = _annotationNSManager.LookupNamespace(r.Prefix); in LoadElementNode() 366 … XmlAttribute attr = CreateXmlNsAttribute(r.Prefix, _namespaceManager.LookupNamespace(r.Prefix)); in LoadElementNode() 371 string elemNS = _namespaceManager.LookupNamespace(r.Prefix); in LoadElementNode() 383 string attNS = _annotationNSManager.LookupNamespace(r.Prefix); in LoadElementNode() 386 … XmlAttribute attr = CreateXmlNsAttribute(r.Prefix, _namespaceManager.LookupNamespace(r.Prefix)); in LoadElementNode()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/tests/XmlSchema/XmlSchemaValidatorApi/ |
H A D | CustomImplementations.cs | 49 public override string LookupNamespace(string prefix) in LookupNamespace() method in System.Xml.Tests.ObservedNamespaceManager 52 return base.LookupNamespace(prefix); in LookupNamespace()
|