Home
last modified time | relevance | path

Searched defs:xml (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/libcore/xml/
DPullParserDtdTest.java37 String xml = "<!DOCTYPE foo [" in testDeclaringParameterEntities() local
59 String xml = "<!DOCTYPE foo [" in testGeneralAndParameterEntityWithTheSameName() local
72 String xml = "<!DOCTYPE foo [" in testInternalEntities() local
84 String xml = "<!DOCTYPE foo SYSTEM \"http://127.0.0.1:1/no-such-file.dtd\"><foo></foo>"; in testExternalDtdIsSilentlyIgnored() local
94 String xml = "<!DOCTYPE foo SYSTEM \"http://127.0.0.1:1/no-such-file.dtd\" [" in testExternalAndInternalDtd() local
106 String xml = "<!DOCTYPE foo [" in testInternalEntitiesAreParsed() local
118 String xml = "<!DOCTYPE foo [" in testFoolishlyRecursiveInternalEntities() local
134 String xml = "<!DOCTYPE foo [" in testExpansionOfEntityAndCharacterReferences() local
154 String xml = "<!DOCTYPE foo [" in testGeneralEntitiesAreStoredUnresolved() local
167 String xml = "<!DOCTYPE foo [<!ENTITY bb \"<bar>baz<!--quux--></bar>\">]><foo>a&bb;c</foo>"; in testStructuredEntityAndNextToken() local
[all …]
DNamespacedAttributesLookupTest.java42 private static String xml = "<?xml version='1.0' encoding='UTF-8'?>" + field in NamespacedAttributesLookupTest
99 …public List<String> getStartElements(String xml, final boolean namespace, boolean namespacePrefixe… in getStartElements()
DSaxTest.java162 String xml = "<!DOCTYPE foo [" in testDisableExternalGeneralEntities() local
174 String xml = "<!DOCTYPE foo [" in testDisableExternalParameterEntities() local
186 private void testDisableExternalEntities(String feature, String xml) throws Exception { in testDisableExternalEntities()
203 private void parse(boolean prefixes, boolean namespaces, String xml, in parse()
DPullParserTest.java116 private void testCharacterReferenceOfUtf16Surrogates(String xml) throws Exception { in testCharacterReferenceOfUtf16Surrogates()
157 private void testLineEndings(String xml) throws Exception { in testLineEndings()
592 String xml = "<one xmlns='ns:default' xmlns:n1='ns:1' a='b'>\n" in testNamespaces() local
793 private void assertParseFailure(String xml) throws Exception { in assertParseFailure()
798 private void assertRelaxedParseFailure(String xml) throws Exception { in assertRelaxedParseFailure()
804 private void assertParseFailure(String xml, XmlPullParser parser) throws Exception { in assertParseFailure()
814 private void assertParseSuccess(String xml, XmlPullParser parser) throws Exception { in assertParseSuccess()
DNormalizeTest.java340 String xml = "<foo>ABC<![CDATA[DEF]]>GHI</foo>"; in testCdataSectionsNotHonoredByNodeNormalize() local
353 String xml = "<foo>ABC<![CDATA[DEF]]>GHI</foo>"; in testCdataSectionsHonoredByDocumentNormalize() local
391 String xml = "<foo>ABC<!-- bar -->DEF<!-- baz -->GHI</foo>"; in testRetainingComments() local
410 String xml = "<foo>ABC<!-- bar -->DEF<!-- baz -->GHI</foo>"; in testStrippingComments() local
585 private void parse(String xml) throws Exception { in parse()
DDomTest.java77 private final String xml field in DomTest
646 String xml = "<menu> <item/> </menu>"; in testIsElementContentWhitespaceWithoutDeclaration() local
656 String xml = "<!DOCTYPE menu [\n" in testIsElementContentWhitespaceWithDeclaration() local
1372 String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> \n" in testDocumentDoesNotHaveWhitespaceChildren() local
1560 String xml = "<foo>abc<![CDATA[def]]>ghi</foo>"; in testCoalescingOn() local
1571 String xml = "<foo>abc<![CDATA[def]]>ghi</foo>"; in testCoalescingOff() local
1590 String xml = "<!DOCTYPE foo [ <!ENTITY def \"DEF\"> ]>" in testExpandingEntityReferencesOn() local
1603 String xml = "<!DOCTYPE foo [ <!ENTITY def \"DEF\"> ]>" in testExpandingEntityReferencesOff() local
1637 String xml = "<foo>abc&amp;def</foo>"; in testExpandingEntityReferencesOffDoesNotImpactPredefinedEntities() local
1648 String xml = "<foo>abc&#38;def&#x26;ghi</foo>"; in testExpandingEntityReferencesOffDoesNotImpactCharacterEntities() local
DExpatSaxParserTest.java51 StringBuilder xml = new StringBuilder(); in testGlobalReferenceTableOverflow() local
682 private static void parse(String xml, ContentHandler contentHandler) in parse()
/libcore/support/src/test/java/tests/support/
DSupport_Xml.java29 public static Document domOf(String xml) throws Exception { in domOf()
/libcore/benchmarks/src/benchmarks/regression/
DXmlEntitiesBenchmark.java38 private String xml; field in XmlEntitiesBenchmark
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatParser.java412 /*package*/ void append(String xml) throws SAXException { in append()
420 private native void appendString(long pointer, String xml, boolean isFinal) in appendString()
433 /*package*/ void append(char[] xml, int offset, int length) in append()
442 private native void appendChars(long pointer, char[] xml, int offset, in appendChars()
452 /*package*/ void append(byte[] xml) throws SAXException { in append()
466 /*package*/ void append(byte[] xml, int offset, int length) in append()
475 private native void appendBytes(long pointer, byte[] xml, int offset, in appendBytes()
/libcore/luni/src/test/java/libcore/libcore/timezone/
DTimeZoneFinderTest.java636 String xml = "<timezones ianaversion=\"2017b\">\n" in lookupDefaultTimeZoneIdByCountry_notCountryTimeZoneButValid() local
653 String xml = "<timezones ianaversion=\"2017b\">\n" in lookupDefaultTimeZoneIdByCountry_invalidDefault() local
949 private static void checkValidateThrowsParserException(String xml) { in checkValidateThrowsParserException()
957 private static TimeZoneFinder validate(String xml) throws IOException { in validate()
/libcore/support/src/test/java/tests/support/resource/
DSupport_Resources.java185 InputStream xml = Support_Resources.class.getResourceAsStream(path); in resourceToTempFile() local
/libcore/luni/src/main/java/libcore/timezone/
DTimeZoneFinder.java145 public static TimeZoneFinder createInstanceForTests(String xml) { in createInstanceForTests()
776 static ReaderSupplier forString(String xml) { in forString()
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp1034 jbyteArray xml, jint byteOffset, jint byteCount) { in ExpatParser_appendBytes()
1045 jcharArray xml, jint charOffset, jint charCount) { in ExpatParser_appendChars()
1058 ScopedStringChars xml(env, javaXml); in ExpatParser_appendString() local