Home
last modified time | relevance | path

Searched defs:xml (Results 1 – 11 of 11) 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.java164 String xml = "<!DOCTYPE foo [" in testDisableExternalGeneralEntities() local
176 String xml = "<!DOCTYPE foo [" in testDisableExternalParameterEntities() local
188 private void testDisableExternalEntities(String feature, String xml) throws Exception { in testDisableExternalEntities()
205 private void parse(boolean prefixes, boolean namespaces, String xml, in parse()
DNormalizeTest.java342 String xml = "<foo>ABC<![CDATA[DEF]]>GHI</foo>"; in testCdataSectionsNotHonoredByNodeNormalize() local
355 String xml = "<foo>ABC<![CDATA[DEF]]>GHI</foo>"; in testCdataSectionsHonoredByDocumentNormalize() local
393 String xml = "<foo>ABC<!-- bar -->DEF<!-- baz -->GHI</foo>"; in testRetainingComments() local
412 String xml = "<foo>ABC<!-- bar -->DEF<!-- baz -->GHI</foo>"; in testStrippingComments() local
587 private void parse(String xml) throws Exception { in parse()
DDomTest.java78 private final String xml field in DomTest
651 String xml = "<menu> <item/> </menu>"; in testIsElementContentWhitespaceWithoutDeclaration() local
662 String xml = "<!DOCTYPE menu [\n" in testIsElementContentWhitespaceWithDeclaration() local
1380 String xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?> \n" in testDocumentDoesNotHaveWhitespaceChildren() local
1569 String xml = "<foo>abc<![CDATA[def]]>ghi</foo>"; in testCoalescingOn() local
1580 String xml = "<foo>abc<![CDATA[def]]>ghi</foo>"; in testCoalescingOff() local
1599 String xml = "<!DOCTYPE foo [ <!ENTITY def \"DEF\"> ]>" in testExpandingEntityReferencesOn() local
1612 String xml = "<!DOCTYPE foo [ <!ENTITY def \"DEF\"> ]>" in testExpandingEntityReferencesOff() local
1646 String xml = "<foo>abc&amp;def</foo>"; in testExpandingEntityReferencesOffDoesNotImpactPredefinedEntities() local
1657 String xml = "<foo>abc&#38;def&#x26;ghi</foo>"; in testExpandingEntityReferencesOffDoesNotImpactCharacterEntities() local
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
723 private void assertParseFailure(String xml) throws Exception { in assertParseFailure()
DExpatSaxParserTest.java50 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/
DSupport_Xml.java29 public static Document domOf(String xml) throws Exception { in domOf()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatParser.java404 /*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/
DSupport_Resources.java175 InputStream xml = Support_Resources.class.getResourceAsStream(path); in resourceToTempFile() local
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp1019 jbyteArray xml, jint byteOffset, jint byteCount) { in ExpatParser_appendBytes()
1030 jcharArray xml, jint charOffset, jint charCount) { in ExpatParser_appendChars()
1043 ScopedStringChars xml(env, javaXml); in ExpatParser_appendString() local