/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | DocumentImportNode.java | 88 Document doc; in testImportNode2() local 98 doc = (Document) load("staffNS", builder); in testImportNode2() 100 addresses = doc in testImportNode2() 170 Document doc; in testImportNode5() local 178 doc = (Document) load("staffNS", builder); in testImportNode5() 180 attr = doc.createAttributeNS("http://www.w3.org/DOM/Test", "a_:b0"); in testImportNode5() 193 Document doc; in testImportNode6() local 195 doc = (Document) load("staffNS", builder); in testImportNode6() 200 doc.importNode(doc, false); in testImportNode6() 208 Document doc; in testImportNode7() local [all …]
|
D | IsSupported.java | 58 Document doc; in testIsSupported1() local 61 doc = (Document) load("staff", builder); in testIsSupported1() 62 rootNode = doc.getDocumentElement(); in testIsSupported1() 67 Document doc; in testIsSupported2() local 70 doc = (Document) load("staff", builder); in testIsSupported2() 71 rootNode = doc.getDocumentElement(); in testIsSupported2() 76 Document doc; in testIsSupported4() local 79 doc = (Document) load("staff", builder); in testIsSupported4() 80 rootNode = doc.getDocumentElement(); in testIsSupported4() 85 Document doc; in testIsSupported5() local [all …]
|
D | GetElementsByTagNameNS.java | 72 Document doc; in testGetElementsByTagNameNS1() local 74 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS1() 75 newList = doc.getElementsByTagNameNS(namespaceURI, localName); in testGetElementsByTagNameNS1() 81 Document doc; in testGetElementsByTagNameNS2() local 86 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS2() 87 newList = doc.getElementsByTagNameNS("*", "employee"); in testGetElementsByTagNameNS2() 96 Document doc; in testGetElementsByTagNameNS3() local 118 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS3() 119 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", "*"); in testGetElementsByTagNameNS3() 128 Document doc; in testGetElementsByTagNameNS4() local [all …]
|
D | Prefix.java | 77 Document doc; in testGetPrefix1() local 80 doc = (Document) load("staffNS", builder); in testGetPrefix1() 81 createdNode = doc.createElement("test:employee"); in testGetPrefix1() 86 Document doc; in testGetPrefix2() local 91 doc = (Document) load("staffNS", builder); in testGetPrefix2() 92 elementList = doc.getElementsByTagName("emp:employeeId"); in testGetPrefix2() 100 Document doc; in testGetPrefix3() local 104 doc = (Document) load("staffNS", builder); in testGetPrefix3() 105 elementList = doc.getElementsByTagName("emp:employee"); in testGetPrefix3() 112 Document doc; in testGetPrefix4() local [all …]
|
D | DocumentGetElementsByTagnameNS.java | 59 Document doc; in testGetElementsByTagNameNS1() local 67 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS1() 68 domImpl = doc.getImplementation(); in testGetElementsByTagNameNS1() 75 Document doc; in testGetElementsByTagNameNS2() local 80 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS2() 81 docElem = doc.getDocumentElement(); in testGetElementsByTagNameNS2() 82 element = doc.createElementNS("test", "employeeId"); in testGetElementsByTagNameNS2() 84 childList = doc.getElementsByTagNameNS("*", "employeeId"); in testGetElementsByTagNameNS2() 89 Document doc; in testGetElementsByTagNameNS3() local 91 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS3() [all …]
|
D | NodeSetPrefix.java | 82 Document doc; in testSetPrefix1() local 88 doc = (Document) load("staff", builder); in testSetPrefix1() 89 docFragment = doc.createDocumentFragment(); in testSetPrefix1() 90 element = doc.createElementNS("http://www.w3.org/DOM/Test", in testSetPrefix1() 126 Document doc; in testSetPrefix3() local 128 doc = (Document) load("staffNS", builder); in testSetPrefix3() 129 element = doc.createElement("address"); in testSetPrefix3() 167 Document doc; in testSetPrefix5() local 177 doc = (Document) load("staffNS", builder); in testSetPrefix5() 178 element = doc.createElementNS("http://www.w3.org/DOM/Test/L2", in testSetPrefix5() [all …]
|
D | ElementSetAttributeNodeNS.java | 77 Document doc; in testSetAttributeNodeNS1() local 88 doc = (Document) load("staff", builder); in testSetAttributeNodeNS1() 89 element = doc.createElementNS("http://www.w3.org/DOM/Test/Level2", in testSetAttributeNodeNS1() 91 attribute1 = doc.createAttributeNS("http://www.w3.org/DOM/Test/att1", in testSetAttributeNodeNS1() 93 attribute2 = doc.createAttributeNS("http://www.w3.org/DOM/Test/att1", in testSetAttributeNodeNS1() 110 Document doc; in testSetAttributeNodeNS2() local 121 doc = (Document) load("staffNS", builder); in testSetAttributeNodeNS2() 122 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", in testSetAttributeNodeNS2() 135 Document doc; in testSetAttributeNodeNS3() local 143 doc = (Document) load("staffNS", builder); in testSetAttributeNodeNS3() [all …]
|
D | NamedNodeMapRemoveNamedItemNS.java | 76 Document doc; in testRemoveNamedItemNS1() local 81 doc = (Document) load("staffNS", builder); in testRemoveNamedItemNS1() 82 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", in testRemoveNamedItemNS1() 116 Document doc; in testRemoveNamedItemNS3() local 124 doc = (Document) load("staffNS", builder); in testRemoveNamedItemNS3() 125 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); in testRemoveNamedItemNS3() 126 attribute1 = doc in testRemoveNamedItemNS3() 129 attribute2 = doc in testRemoveNamedItemNS3() 141 Document doc; in _testRemoveNamedItemNS4() local 147 doc = (Document) load("staffNS", builder); in _testRemoveNamedItemNS4() [all …]
|
D | SetAttributeNS.java | 82 Document doc; in testSetAttributeNS1() local 85 doc = (Document) load("staffNS", builder); in testSetAttributeNS1() 86 elementList = doc.getElementsByTagName("employee"); in testSetAttributeNS1() 103 Document doc; in testSetAttributeNS2() local 106 doc = (Document) load("staffNS", builder); in testSetAttributeNS2() 107 elementList = doc.getElementsByTagName("emp:employee"); in testSetAttributeNS2() 162 Document doc; in testSetAttributeNS4() local 170 doc = (Document) load("staffNS", builder); in testSetAttributeNS4() 171 elementList = doc.getElementsByTagName("emp:address"); in testSetAttributeNS4() 193 Document doc; in testSetAttributeNS5() local [all …]
|
D | DocumentCreateAttributeNS.java | 80 Document doc; in testCreateAttributeNS1() local 88 doc = (Document) load("staffNS", builder); in testCreateAttributeNS1() 89 attribute = doc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS1() 102 Document doc; in testCreateAttributeNS2() local 110 doc = (Document) load("staffNS", builder); in testCreateAttributeNS2() 111 attribute1 = doc.createAttributeNS( in testCreateAttributeNS2() 126 attribute2 = doc.createAttributeNS("http://www.w3.org/2000/xmlns/", in testCreateAttributeNS2() 142 Document doc; in testCreateAttributeNS3() local 157 doc = (Document) load("staffNS", builder); in testCreateAttributeNS3() 164 doc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS3() [all …]
|
D | CreateElementNS.java | 83 Document doc; in testCreateElementNS1() local 85 doc = (Document) load("staffNS", builder); in testCreateElementNS1() 90 doc.createElementNS(namespaceURI, malformedName); in testCreateElementNS1() 101 Document doc; in testCreateElementNS2() local 103 doc = (Document) load("staffNS", builder); in testCreateElementNS2() 108 doc.createElementNS(namespaceURI, qualifiedName); in testCreateElementNS2() 118 Document doc; in testCreateElementNS3() local 149 doc = (Document) load("staffNS", builder); in testCreateElementNS3() 156 doc.createElementNS(namespaceURI, qualifiedName); in testCreateElementNS3() 167 Document doc; in testCreateElementNS4() local [all …]
|
D | CreateAttributeNS.java | 65 Document doc; in testCreateAttributeNS1() local 67 doc = (Document) load("staffNS", builder); in testCreateAttributeNS1() 72 doc.createAttributeNS(namespaceURI, malformedName); in testCreateAttributeNS1() 83 Document doc; in testCreateAttributeNS2() local 85 doc = (Document) load("staffNS", builder); in testCreateAttributeNS2() 90 doc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS2() 100 Document doc; in testCreateAttributeNS3() local 131 doc = (Document) load("staffNS", builder); in testCreateAttributeNS3() 137 doc.createAttributeNS(namespaceURI, qualifiedName); in testCreateAttributeNS3() 148 Document doc; in testCreateAttributeNS4() local [all …]
|
D | GetAttributeNS.java | 94 Document doc; in testGetAttributeNS2() local 100 doc = (Document) load("staffNS", builder); in testGetAttributeNS2() 101 newAttribute = doc.createAttributeNS(namespaceURI, qualifiedName); in testGetAttributeNS2() 102 elementList = doc.getElementsByTagName("emp:address"); in testGetAttributeNS2() 106 elementList = doc.getElementsByTagName("emp:address"); in testGetAttributeNS2() 114 Document doc; in testGetAttributeNS3() local 118 doc = (Document) load("staffNS", builder); in testGetAttributeNS3() 119 elementList = doc.getElementsByTagName("emp:address"); in testGetAttributeNS3() 130 Document doc; in testGetAttributeNS4() local 136 doc = (Document) load("staffNS", builder); in testGetAttributeNS4() [all …]
|
D | NamedNodeMapSetNamedItemNS.java | 84 Document doc; in testSetNamedItemNS1() local 92 doc = (Document) load("staffNS", builder); in testSetNamedItemNS1() 93 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", in testSetNamedItemNS1() 97 newAttr1 = doc.createAttributeNS("http://www.w3.org/DOM/L1", "streets"); in testSetNamedItemNS1() 105 Document doc; in testSetNamedItemNS2() local 112 doc = (Document) load("staffNS", builder); in testSetNamedItemNS2() 113 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); in testSetNamedItemNS2() 114 attribute1 = doc in testSetNamedItemNS2() 125 Document doc; in testSetNamedItemNS3() local 137 doc = (Document) load("staffNS", builder); in testSetNamedItemNS3() [all …]
|
D | ElementSetAttributeNS.java | 56 Document doc; in testSetAttributeNS1() local 61 doc = (Document) load("staff", builder); in testSetAttributeNS1() 62 element = doc.createElementNS("http://www.w3.org/DOM", "dom:elem"); in testSetAttributeNS1() 73 Document doc; in testSetAttributeNS2() local 79 doc = (Document) load("staff", builder); in testSetAttributeNS2() 80 elementList = doc.getElementsByTagNameNS("*", "address"); in testSetAttributeNS2() 94 Document doc; in testSetAttributeNS3() local 100 doc = (Document) load("staffNS", builder); in testSetAttributeNS3() 101 elementList = doc.getElementsByTagName("emp:employee"); in testSetAttributeNS3() 117 Document doc; in testSetAttributeNS4() local [all …]
|
D | ElementHasAttribute.java | 49 Document doc; in testHasAttribute1() local 52 doc = (Document) load("staff", builder); in testHasAttribute1() 53 element = doc.getDocumentElement(); in testHasAttribute1() 72 Document doc; in testHasAttribute3() local 77 doc = (Document) load("staff", builder); in testHasAttribute3() 78 element = doc.createElement("address"); in testHasAttribute3() 79 attribute = doc.createAttribute("domestic"); in testHasAttribute3() 87 Document doc; in testHasAttribute4() local 92 doc = (Document) load("staff", builder); in testHasAttribute4() 93 element = doc.createElement("address"); in testHasAttribute4() [all …]
|
D | ElementGetElementsByTagNameNS.java | 51 Document doc; in testGetElementsByTagNameNS1() local 54 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS1() 55 element = doc.getDocumentElement(); in testGetElementsByTagNameNS1() 61 Document doc; in testGetElementsByTagNameNS4() local 70 doc = (Document) load("staffNS", builder); in testGetElementsByTagNameNS4() 71 element = doc.createElementNS("http://www.w3.org/DOM", "root"); in testGetElementsByTagNameNS4() 72 child1 = doc.createElementNS("http://www.w3.org/DOM/Level1", in testGetElementsByTagNameNS4() 74 child2 = doc.createElementNS(nullNS, "child"); in testGetElementsByTagNameNS4() 75 child3 = doc.createElementNS("http://www.w3.org/DOM/Level2", in testGetElementsByTagNameNS4() 88 Document doc; in testGetElementsByTagNameNS5() local [all …]
|
D | NamedNodeMapGetNamedItemNS.java | 101 Document doc; in testGetNamedItemNS2() local 107 doc = (Document) load("staffNS", builder); in testGetNamedItemNS2() 108 elementList = doc.getElementsByTagNameNS("http://www.nist.gov", in testGetNamedItemNS2() 118 Document doc; in testGetNamedItemNS3() local 126 doc = (Document) load("staffNS", builder); in testGetNamedItemNS3() 127 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); in testGetNamedItemNS3() 128 newAttr1 = doc.createAttributeNS("http://www.w3.org/DOM/L1", "L1:att"); in testGetNamedItemNS3() 130 newAttr2 = doc.createAttributeNS("http://www.w3.org/DOM/L2", "L2:att"); in testGetNamedItemNS3() 139 Document doc; in testGetNamedItemNS4() local 146 doc = (Document) load("staffNS", builder); in testGetNamedItemNS4() [all …]
|
D | LocalName.java | 56 Document doc; in testGetLocalName1() local 61 doc = (Document) load("staffNS", builder); in testGetLocalName1() 62 elementList = doc.getElementsByTagName("emp:address"); in testGetLocalName1() 70 Document doc; in testGetLocalName2() local 73 doc = (Document) load("staffNS", builder); in testGetLocalName2() 74 createdNode = doc.createElement("test:employee"); in testGetLocalName2() 79 Document doc; in testGetLocalName3() local 84 doc = (Document) load("staffNS", builder); in testGetLocalName3() 85 elementList = doc.getElementsByTagName("employeeId"); in testGetLocalName3() 92 Document doc; in testGetLocalName4() local [all …]
|
D | ElementHasAttributeNS.java | 75 Document doc; in _testHasAttributeNS1() local 79 doc = (Document) load("staffNS", builder); in _testHasAttributeNS1() 80 elementList = doc.getElementsByTagNameNS("*", "employee"); in _testHasAttributeNS1() 87 Document doc; in testHasAttributeNS2() local 92 doc = (Document) load("staff", builder); in testHasAttributeNS2() 93 element = doc.createElementNS("http://www.w3.org/DOM", "address"); in testHasAttributeNS2() 94 attribute = doc.createAttributeNS("http://www.w3.org/DOM", "domestic"); in testHasAttributeNS2() 100 Document doc; in testHasAttributeNS3() local 107 doc = (Document) load("staff", builder); in testHasAttributeNS3() 108 element = doc.createElementNS("http://www.w3.org/DOM", "address"); in testHasAttributeNS3() [all …]
|
D | HasAttributeNS.java | 76 Document doc; in testHasAttributeNS1() local 80 doc = (Document) load("staffNS", builder); in testHasAttributeNS1() 81 elementList = doc.getElementsByTagName("address"); in testHasAttributeNS1() 89 Document doc; in testHasAttributeNS2() local 93 doc = (Document) load("staffNS", builder); in testHasAttributeNS2() 94 elementList = doc.getElementsByTagName("address"); in testHasAttributeNS2() 102 Document doc; in testHasAttributeNS3() local 106 doc = (Document) load("staffNS", builder); in testHasAttributeNS3() 107 elementList = doc.getElementsByTagName("emp:address"); in testHasAttributeNS3() 132 Document doc; in testHasAttributeNS5() local [all …]
|
D | ImportNode.java | 92 Document doc; in _testImportNode1() local 110 doc = (Document) load("staffNS", builder); in _testImportNode1() 115 aNode = doc.importNode(newAttr, false); in _testImportNode1() 135 Document doc; in testImportNode2() local 143 doc = (Document) load("staffNS", builder); in testImportNode2() 146 aNode = doc.importNode(cDataSec, false); in testImportNode2() 157 Document doc; in testImportNode3() local 165 doc = (Document) load("staffNS", builder); in testImportNode3() 168 aNode = doc.importNode(comment, false); in testImportNode3() 179 Document doc; in testImportNode4() local [all …]
|
D | NodeHasAttributes.java | 75 Document doc; in testHasAttributes1() local 79 doc = (Document) load("staff", builder); in testHasAttributes1() 80 elementList = doc.getElementsByTagName("employee"); in testHasAttributes1() 84 elementList = doc.getElementsByTagName("address"); in testHasAttributes1() 90 Document doc; in testHasAttributes2() local 93 doc = (Document) load("staffNS", builder); in testHasAttributes2() 94 docType = doc.getDoctype(); in testHasAttributes2() 99 Document doc; in testHasAttributes3() local 103 doc = (Document) load("staffNS", builder); in testHasAttributes3() 104 elementList = doc.getElementsByTagName("emp:employee"); in testHasAttributes3() [all …]
|
D | AttrGetOwnerElement.java | 59 Document doc; in testGetOwnerElement2() local 65 doc = (Document) load("staffNS", builder); in testGetOwnerElement2() 66 element = doc.createElement("root"); in testGetOwnerElement2() 67 attr = doc.createAttributeNS("http://www.w3.org/DOM/L1", "L1:att"); in testGetOwnerElement2() 74 Document doc; in testGetOwnerElement3() local 77 doc = (Document) load("staffNS", builder); in testGetOwnerElement3() 78 attr = doc.createAttributeNS("http://www.w3.org/DOM", "dom:attr"); in testGetOwnerElement3() 83 Document doc; in testGetOwnerElement4() local 91 doc = (Document) load("staffNS", builder); in testGetOwnerElement4() 94 addresses = doc in testGetOwnerElement4() [all …]
|
D | SetNamedItemNS.java | 77 Document doc; in testSetNamedItemNS1() local 85 doc = (Document) load("staffNS", builder); in testSetNamedItemNS1() 86 elementList = doc.getElementsByTagName("address"); in testSetNamedItemNS1() 106 Document doc; in testSetNamedItemNS2() local 113 doc = (Document) load("staffNS", builder); in testSetNamedItemNS2() 117 elementList = doc.getElementsByTagName("address"); in testSetNamedItemNS2() 134 Document doc; in testSetNamedItemNS3() local 142 doc = (Document) load("staffNS", builder); in testSetNamedItemNS3() 143 arg = doc.createAttributeNS(namespaceURI, qualifiedName); in testSetNamedItemNS3() 145 elementList = doc.getElementsByTagName("address"); in testSetNamedItemNS3() [all …]
|