/libcore/luni/src/test/java/libcore/xml/ |
D | PullParserDtdTest.java | 37 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 …]
|
D | NamespacedAttributesLookupTest.java | 42 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()
|
D | SaxTest.java | 162 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()
|
D | NormalizeTest.java | 340 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()
|
D | DomTest.java | 77 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&def</foo>"; in testExpandingEntityReferencesOffDoesNotImpactPredefinedEntities() local 1648 String xml = "<foo>abc&def&ghi</foo>"; in testExpandingEntityReferencesOffDoesNotImpactCharacterEntities() local
|
D | PullParserTest.java | 116 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 745 private void assertParseFailure(String xml) throws Exception { in assertParseFailure()
|
D | ExpatSaxParserTest.java | 50 StringBuilder xml = new StringBuilder(); in testGlobalReferenceTableOverflow() local 630 private static void parse(String xml, ContentHandler contentHandler) in parse()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Xml.java | 29 public static Document domOf(String xml) throws Exception { in domOf()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatParser.java | 404 /*package*/ void append(String xml) throws SAXException { in append() 412 private native void appendString(int pointer, String xml, boolean isFinal) in appendString() 424 /*package*/ void append(char[] xml, int offset, int length) in append() 433 private native void appendChars(int pointer, char[] xml, int offset, in appendChars() 443 /*package*/ void append(byte[] xml) throws SAXException { in append() 456 /*package*/ void append(byte[] xml, int offset, int length) in append() 465 private native void appendBytes(int pointer, byte[] xml, int offset, in appendBytes()
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 189 InputStream xml = Support_Resources.class.getResourceAsStream(path); in resourceToTempFile() local
|
/libcore/luni/src/main/native/ |
D | org_apache_harmony_xml_ExpatParser.cpp | 1016 jbyteArray xml, jint byteOffset, jint byteCount) { in ExpatParser_appendBytes() 1027 jcharArray xml, jint charOffset, jint charCount) { in ExpatParser_appendChars() 1040 ScopedStringChars xml(env, javaXml); in ExpatParser_appendString() local
|