Home
last modified time | relevance | path

Searched refs:strxml (Results 1 – 25 of 26) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/tests/Writers/XmlWriterApi/
H A DTCWriteNode_XmlReader.cs422 string strxml = "<!DOCTYPE ROOT []><ROOT/>"; in writeNode_XmlReader20()
446 string strxml = "<root></root>"; in writeNode_XmlReader21()
447 XmlReader xr = CreateReader(new StringReader(strxml)); in writeNode_XmlReader21()
485 string strxml = "<!DOCTYPE doc " + in writeNode_XmlReader21b()
687strxml = utils.IsIndent() ? "<?xml version=\"1.0\" standalone=\"yes\"?>" + Environment.NewLine + "… in writeNode_XmlReader28()
688 Assert.True(utils.CompareString(strxml)); in writeNode_XmlReader28()
754 string strxml = @"<root xmlns='p1'><child /></root>"; in writeNode_XmlReader30()
852 CError.WriteLine(strxml); in writeNode_XmlReader35()
861 Assert.True(utils.CompareReader(strxml)); in writeNode_XmlReader35()
869 string strxml = "<Ro\u00F6t \u00F6=\"\u00F6\" />"; in writeNode_XmlReader36()
[all …]
H A DTCWriteAttributes.cs215 string strxml = ""; in writeAttributes_9()
224 strxml = "<!DOCTYPE Root[]><Root/>"; in writeAttributes_9()
232 strxml = "<root><![CDATA[Test]]></root>"; in writeAttributes_9()
235 strxml = "<root>Test</root>"; in writeAttributes_9()
238 strxml = "<root><?pi test?></root>"; in writeAttributes_9()
241 strxml = "<root><!-- comment --></root>"; in writeAttributes_9()
260 strxml = "<root> </root>"; in writeAttributes_9()
265 xr = CreateReader(new StringReader(strxml)); in writeAttributes_9()
396 string strxml = "<E a=\"&gt;&lt;&quot;&apos;&amp;\" />"; in writeAttributes_13()
424 string strxml = "<root attr='test' />"; in writeAttributes_14()
[all …]
H A DTCOmitXmlDecl.cs155 string strxml = "<?xml version=\"1.0\"?><root>blah</root>"; in XmlDecl_6()
156 XmlReader xr = ReaderHelper.Create(new StringReader(strxml)); in XmlDecl_6()
179 string strxml = "<?xml version=\"1.0\"?><root>blah</root>"; in XmlDecl_7()
180 XmlReader xr = ReaderHelper.Create(new StringReader(strxml)); in XmlDecl_7()
191 Assert.True(utils.CompareReader(strxml)); in XmlDecl_7()
H A DTCAutoCL.cs227 string strxml = "<!DOCTYPE test [<!ENTITY e 'abc'>]><Root />"; in auto_8()
231 XmlReader xr = ReaderHelper.Create(new StringReader(strxml), rSettings, (string)null); in auto_8()
249 string strxml = "<Root>text</Root>"; in auto_10()
250 XmlReader xr = ReaderHelper.Create(new StringReader(strxml)); in auto_10()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/tests/XmlReaderLib/
H A DCommonTest.cs171 ReloadSourceStr(strxml); in Read2()
187 string strxml = "<root: />"; in Read3()
190 ReloadSourceStr(strxml); in Read3()
300 ReloadSourceStr(strxml); in Read11()
354 string strxml = "<a>x<a/>"; in Read15()
860 ReloadSourceStr(strxml); in v2()
886 ReloadSourceStr(strxml); in v4()
902 ReloadSourceStr(strxml); in v6()
965 ReloadSourceStr(strxml); in v10()
976 ReloadSourceStr(strxml); in v12()
[all …]
H A DReadBase64.cs395 ReloadSourceStr(strxml); in TestTextReadBase64_23()
420 ReloadSourceStr(strxml); in TestTextReadBase64_24()
446 ReloadSourceStr(strxml); in TestTextReadBase64_26()
468 string strxml = "<abc>AQI=ID</abc>"; in TestTextReadBase64_27()
471 ReloadSourceStr(strxml); in TestTextReadBase64_27()
903 ReloadSourceStr(strxml); in TestTextReadBase64_23()
927 ReloadSourceStr(strxml); in TestTextReadBase64_24()
952 ReloadSourceStr(strxml); in TestTextReadBase64_26()
973 string strxml = "<abc>AQI=ID</abc>"; in TestTextReadBase64_27()
976 ReloadSourceStr(strxml); in TestTextReadBase64_27()
[all …]
H A DReadBinHex.cs382 string strxml = "<abc> 1 1 B </abc>"; in TestTextReadBinHex_21()
383 ReloadSource(new StringReader(strxml)); in TestTextReadBinHex_21()
402 string strxml = "<abc>11B</abc>"; in TestTextReadBinHex_22()
403 ReloadSource(new StringReader(strxml)); in TestTextReadBinHex_22()
425 ReloadSource(new StringReader(strxml)); in TestTextReadBinHex_23()
809 string strxml = "<abc> 1 1 B </abc>"; in TestTextReadBinHex_21()
810 ReloadSource(new StringReader(strxml)); in TestTextReadBinHex_21()
828 string strxml = "<abc>11B</abc>"; in TestTextReadBinHex_22()
829 ReloadSource(new StringReader(strxml)); in TestTextReadBinHex_22()
850 ReloadSource(new StringReader(strxml)); in TestTextReadBinHex_23()
[all …]
H A DReadValue.cs552 string strxml = "<ROOT>somevalue<![CDATA[somevalue]]>somevalue</ROOT>"; in TestReadChar14()
553 ReloadSourceStr(strxml); in TestReadChar14()
588 string strxml = "<ROOT>somevalue</ROOT>"; in TestReadChar15()
589 ReloadSourceStr(strxml); in TestReadChar15()
626 string strxml = "<ROOT>somevalue</ROOT>"; in TestReadChar16()
627 ReloadSourceStr(strxml); in TestReadChar16()
708 string strxml = String.Format("<ROOT>a" + somechar + "{0}c</ROOT>", Convert.ToChar(0)); in TestReadChar21()
709 ReloadSourceStr(strxml); in TestReadChar21()
743 string strxml = "<ROOT>somevalue<![CDATA[somevalue]]><test1/> <test2/></ROOT>"; in TestTextReadValue25()
744 ReloadSourceStr(strxml); in TestTextReadValue25()
H A DCXMLGeneralTest.cs110 public virtual void ReloadSourceStr(string strxml) in ReloadSourceStr() argument
113 ht[ReaderFactory.HT_FRAGMENT] = strxml; in ReloadSourceStr()
372 ReloadSource(new StringReader(strxml)); in TestDepth5()
418 ReloadSource(new StringReader(strxml)); in TestDepth6()
634 string strxml = "<ROOT xml:space='preserve'/>"; in TestNamespace7()
635 ReloadSource(new StringReader(strxml)); in TestNamespace7()
909 string strxml = "<ROOT xmlns:p='1'>\n<E1/></ROOT>"; in LookupNamespace8()
910 ReloadSource(new StringReader(strxml)); in LookupNamespace8()
948 ReloadSourceStr(strxml); in LookupNamespace10()
1191 ReloadSourceStr(strxml); in v13()
[all …]
H A DLineNumber.cs434 string strxml = "<PRODUCT xmlns:a='abc' xmlns:b='abc'/>"; in TestLinePos44()
435 ReloadSourceStr(strxml); in TestLinePos44()
461 string strxml = "<portfolio>\n <stock exchange=nasdaq/>\n</portfolio>"; in TestLinePos99()
462 ReloadSourceStr(strxml); in TestLinePos99()
H A DReadOuterXml.cs440 string strxml = "<Name a=\"b\">" + strp + " </Name>"; in TestTextReadOuterXml29()
441 ReloadSourceStr(strxml); in TestTextReadOuterXml29()
444 CError.Compare(DataReader.ReadOuterXml(), strxml, "rox"); in TestTextReadOuterXml29()
H A DCXmlReaderEntityTest.cs398 string strxml = "<!DOCTYPE ROOT [<!ENTITY e 'bbb'>]><ROOT attr='a&e;c'/>"; in TestReadAttributeValue5()
399 ReloadSource(new StringReader(strxml)); in TestReadAttributeValue5()
H A DCXMLReaderAttrTest.cs2172 string strxml = "<?xml version='1.0' standalone='yes'?><ROOT/>"; in TAXmlDecl_12()
2173 ReloadSourceStr(strxml); in TAXmlDecl_12()
2380 string strxml = "<ROOT xmlns:pxmlns='http://www.w3.org/2000/xmlns/'/>"; in TXmlnsPrefix4()
2381 ReloadSourceStr(strxml); in TXmlnsPrefix4()
2400 string strxml = "<ROOT xmlns:xmlns='http://www.w3.org/2002/xmlns/'/>"; in TXmlnsPrefix5()
2401 ReloadSourceStr(strxml); in TXmlnsPrefix5()
H A DCXmlReaderReadEtc.cs468 string strxml = "<Name a=\"b\">" + strp + "</Name>"; in TestTextReadInnerXml18()
469 ReloadSourceStr(strxml); in TestTextReadInnerXml18()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml/tests/Readers/FactoryReader/
H A DNormalization.cs191 string strxml = String.Format("<ROOT>&#x{0};</ROOT>", invalidXML[i]); in TestNormalization14()
193 ReloadSourceStr(strxml); in TestNormalization14()
213 string strxml = "<e a='a&#xD;\r\n \r&#xA;b&#xD;&#x20;&#x9;&#x41;'/>"; in TestNormalization16()
216 ReloadSourceStr(strxml); in TestNormalization16()
240 string strxml = "<root>a&#xD;&#xA;&#xD;b</root>"; in TestNormalization17()
242 ReloadSourceStr(strxml); in TestNormalization17()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml.Linq/tests/xNodeReader/
H A DReadBase64.cs380 string strxml = "<r><ROOT>ABCDEFG</ROOT></r>"; in TestTextReadBase64_23()
381 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadBase64_23()
401 string strxml = "<B>" + new string('c', 5000); in TestTextReadBase64_24()
426 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadBase64_26()
446 string strxml = "<abc>AQI=ID</abc>"; in TestTextReadBase64_27()
449 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadBase64_27()
845 string strxml = "<r><ROOT>ABCDEFG</ROOT></r>"; in TestTextReadBase64_23()
846 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadBase64_23()
889 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadBase64_26()
908 string strxml = "<abc>AQI=ID</abc>"; in TestTextReadBase64_27()
[all …]
H A DReadBinHex.cs380 string strxml = "<abc> 1 1 B </abc>"; in TestTextReadBinHex_21()
381 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadBinHex_21()
398 string strxml = "<abc>11B</abc>"; in TestTextReadBinHex_22()
399 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadBinHex_22()
416 string strxml = "<B>" + new string('A', 5000); in TestTextReadBinHex_23()
419 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadBinHex_23()
804 string strxml = "<abc> 1 1 B </abc>"; in TestTextReadBinHex_21()
805 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadBinHex_21()
821 string strxml = "<abc>11B</abc>"; in TestTextReadBinHex_22()
822 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadBinHex_22()
[all …]
H A DReadValue.cs560 string strxml = "<ROOT>somevalue<![CDATA[somevalue]]>somevalue</ROOT>"; in TestReadChar14()
561 XmlReader DataReader = GetReaderStr(strxml); in TestReadChar14()
596 string strxml = "<ROOT>somevalue</ROOT>"; in TestReadChar15()
597 XmlReader DataReader = GetReaderStr(strxml); in TestReadChar15()
634 string strxml = "<ROOT>somevalue</ROOT>"; in TestReadChar16()
635 XmlReader DataReader = GetReaderStr(strxml); in TestReadChar16()
697 … string strxml = String.Format("<ROOT>a" + somechar + "{0}c</ROOT>", Convert.ToChar(0)); in TestReadChar21()
700 XmlReader DataReader = GetReaderStr(strxml); in TestReadChar21()
731 … string strxml = "<ROOT>somevalue<![CDATA[somevalue]]><test1/> <test2/></ROOT>"; in TestTextReadValue25()
732 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadValue25()
H A DReadOuterXml.cs263 string strxml = "<Name a=\"b\">" + strp + " </Name>"; in TestTextReadOuterXml29()
264 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadOuterXml29()
267 TestLog.Compare(DataReader.ReadOuterXml(), strxml, "rox"); in TestTextReadOuterXml29()
H A DCXMLGeneralTest.cs229 string strxml = "<ROOT xml:space='preserve'/>"; in TestNamespace7()
230 XmlReader DataReader = GetReader(new StringReader(strxml)); in TestNamespace7()
454 string strxml = "<ROOT xmlns:p='1'>\n<E1/></ROOT>"; in LookupNamespace8()
455 XmlReader DataReader = GetReaderStr(strxml); in LookupNamespace8()
482 string strxml = "<ROOT xmlns:p='1'>\n<E1/></ROOT>"; in LookupNamespace10()
483 XmlReader DataReader = GetReaderStr(strxml); in LookupNamespace10()
685 string strxml = "<root><?target \uD800\uDC00\uDBFF\uDFFF?></root>"; in v13()
686 XmlReader DataReader = GetReaderStr(strxml); in v13()
1131 string strxml = String.Format("<ROOT xml:lang='{0}'/>", aValidLang[i]); in TestXmlTextReaderLang1()
1133 XmlReader DataReader = GetReaderStr(strxml); in TestXmlTextReaderLang1()
H A DCXMLReaderAttrTest.cs1363 … string strxml = "<?xml version='1.0' standalone='no'?><!DOCTYPE ROOT SYSTEM 'se2.dtd'[]><ROOT/>"; in TATextReaderDocType_1()
1365 XmlReader r = GetReaderStr(strxml); in TATextReaderDocType_1()
1372 … string strxml = String.Format("<!DOCTYPE ROOT SYSTEM '{0}' []><ROOT></ROOT>", filename); in TestUriChar()
1374 XmlReader r = GetReaderStr(strxml); in TestUriChar()
1529 string strxml = "<ROOT xmlns:pxmlns='http://www.w3.org/2000/xmlns/'/>"; in TXmlnsPrefix4()
1532 XmlReader DataReader = GetReaderStr(strxml); in TXmlnsPrefix4()
1542 string strxml = "<ROOT xmlns:xmlns='http://www.w3.org/2002/xmlns/'/>"; in TXmlnsPrefix5()
1545 XmlReader DataReader = GetReaderStr(strxml); in TXmlnsPrefix5()
H A DCXmlReaderReadEtc.cs333 string strxml = "<Name a=\"b\">" + strp + "</Name>"; in TestTextReadInnerXml18()
334 XmlReader DataReader = GetReaderStr(strxml); in TestTextReadInnerXml18()
/dports/textproc/p5-XML-TreePP/XML-TreePP-0.43/t/
H A D34_utf8_flag.t32 my $strxml = $octxml;
33 utf8::decode( $strxml );
39 ok( utf8::is_utf8($strxml), '[source] XML: string' );
42 my $treeB = $strtpp->parse( $strxml );
44 my $treeD = $octtpp->parse( $strxml );
47 ok( utf8::is_utf8($strxml), "[source] XML: string (no damaged)" );
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml.Linq/tests/xNodeBuilder/
H A DCommonTests.cs1258 string strxml = ""; in writeAttributes_9()
1262 strxml = "<!DOCTYPE Root[]><Root/>"; in writeAttributes_9()
1265 strxml = "<root><![CDATA[Test]]></root>"; in writeAttributes_9()
1268 strxml = "<root>Test</root>"; in writeAttributes_9()
1271 strxml = "<root><?pi test?></root>"; in writeAttributes_9()
1274 strxml = "<root><!-- comment --></root>"; in writeAttributes_9()
1280 strxml = "<root> </root>"; in writeAttributes_9()
1285 xr = CreateReader(new StringReader(strxml)); in writeAttributes_9()
1382 string strxml = "<root attr='test' />"; in writeAttributes_14()
1760 string strxml = "<root></root>"; in writeNode_XmlReader21()
[all …]
H A DXmlFactoryWriterTests.cs691 string strxml = "<!DOCTYPE test [<!ENTITY e 'abc'>]><Root />"; in auto_8()
692 XmlReader xr = GetReaderStr(strxml); in auto_8()
707 string strxml = "<Root>text</Root>"; in auto_10()
708 XmlReader xr = GetReaderStr(strxml); in auto_10()

12