/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
documentcreateelementNS05.java | 48 * the namespaceURI is null. 51 * namespaceURI, and a valid qualifiedName. Check if a NAMESPACE_ERR is thrown. 81 String namespaceURI = null; 89 element = doc.createElementNS(namespaceURI, qualifiedName);
|
domimplementationcreatedocument04.java | 48 * a prefix and the namespaceURI is null. 50 * Call the createDocument on this DOMImplementation with null namespaceURI and a 83 String namespaceURI = null; 94 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
|
domimplementationcreatedocument05.java | 48 * a prefix that is xml and the namespaceURI is different from 51 * Call the createDocument on this DOMImplementation with namespaceURI that is 83 String namespaceURI = "http://www.w3.org/xml/1998/namespace"; 93 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
|
domimplementationcreatedocument07.java | 50 * for namespaceURI and docType and a malformed qualifiedName. 81 String namespaceURI = "http://www.w3.org/DOMTest/level2"; 90 newDoc = domImpl.createDocument(namespaceURI, ":", docType);
|
elementsetattributensurinull.java | 47 * The "setAttributeNS(namespaceURI,qualifiedName,value)" method raises a 49 * qualifiedName has a prefix and the namespaceURI is null. 53 * prefix and the namespaceURI is null. 81 String namespaceURI = null; 94 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
getAttributeNodeNS01.java | 34 * The "getAttributeNodeNS(namespaceURI,localName)" method retrieves an 35 * attribute node by local name and NamespaceURI. 68 String namespaceURI = "http://www.nist.gov"; 78 attribute = testAddr.getAttributeNodeNS(namespaceURI, localName);
|
getElementsByTagNameNS01.java | 34 * The "getElementsByTagNameNS(namespaceURI,localName)" method for a 38 * Invoke method getElementsByTagNameNS(namespaceURI,localName) on this document 39 * with namespaceURI and localName as " ". 67 String namespaceURI = "*"; 72 newList = doc.getElementsByTagNameNS(namespaceURI, localName);
|
getElementsByTagNameNS05.java | 34 * The "getElementsByTagNameNS(namespaceURI,localName)" method returns a NodeList 39 * using the "http://www.nist.gov" as the namespaceURI and "nomatch" as the 69 String namespaceURI = "http://www.nist.gov"; 74 elementList = doc.getElementsByTagNameNS(namespaceURI, localName);
|
getNamedItemNS02.java | 34 * The "getNamedItemNS(namespaceURI,localName)" method for a 42 * method getNamedItemNS(namespaceURI,localName). 70 String namespaceURI = "http://www.usa.com"; 81 newAttr = (Attr) attributes.getNamedItemNS(namespaceURI, localName);
|
hasAttributeNS01.java | 68 String namespaceURI = "http://www.usa.com"; 76 state = testNode.hasAttributeNS(namespaceURI, localName);
|
hasAttributeNS02.java | 67 String namespaceURI = "http://www.nomatch.com"; 75 state = testNode.hasAttributeNS(namespaceURI, localName);
|
hasAttributeNS03.java | 67 String namespaceURI = "http://www.nist.gov"; 76 state = testNode.hasAttributeNS(namespaceURI, localName);
|
hasAttributeNS04.java | 74 String namespaceURI = "http://www.nist.gov"; 83 state = testNode.hasAttributeNS(namespaceURI, localName);
|
hasAttributeNS05.java | 73 String namespaceURI = "http://www.usa.com"; 81 state = testNode.hasAttributeNS(namespaceURI, localName);
|
prefix11.java | 36 * prefix is set on a node with a namespaceURI that is null. 40 * on a node whose namespaceURI is null. 72 String namespaceURI; 76 namespaceURI = employeeNode.getNamespaceURI();
|
setAttributeNS01.java | 34 * The "setAttributeNS(namespaceURI,qualifiedName,Value)" method raises a 69 String namespaceURI = "http://www.nist.gov"; 81 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS02.java | 34 * The "setAttributeNS(namespaceURI,qualifiedName,value)" method raises a 68 String namespaceURI = "http://www.nist.gov"; 81 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS06.java | 34 * The "setAttributeNS(namespaceURI,localName,value)" method raises a 36 * prefix of "xml" and the namespaceURI is different from 40 * An exception should be raised since the namespaceURI of this node is not 70 String namespaceURI = "http://www.nist.gov"; 82 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS07.java | 34 * The "setAttributeNS(namespaceURI,localName,value)" method raises a 36 * value of "xmlns" and the namespaceURI is different from 41 * An exception should be raised since the namespaceURI of this node is not 71 String namespaceURI = "http://www.nist.gov"; 83 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, qualifiedName, "newValue");
|
setAttributeNS10.java | 63 String namespaceURI = "http://www.example.gov"; 74 ((Element) /*Node */testAddr).setAttributeNS(namespaceURI, "", "newValue");
|
setAttributeNodeNS03.java | 35 * If an attribute with that local name and that namespaceURI is already 40 * and namespaceURI as the newly created attribute does not exist 42 * This test uses the "createAttributeNS(namespaceURI,localName) 70 String namespaceURI = "http://www.newattr.com"; 81 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName);
|
createDocument05.java | 34 * The "createDocument(namespaceURI,qualifiedName,doctype)" method for a 38 * Invoke method createDocument(namespaceURI,qualifiedName,doctype) on 39 * this domimplementation with namespaceURI equals "http://www.ecommerce.org/schema", 69 String namespaceURI = "http://www.ecommerce.org/schema"; 78 illegalQNames.add("namespaceURI:{"); 79 illegalQNames.add("namespaceURI:}"); 80 illegalQNames.add("namespaceURI:~"); 81 illegalQNames.add("namespaceURI:'"); 82 illegalQNames.add("namespaceURI:!"); 83 illegalQNames.add("namespaceURI:@") [all...] |
/external/webkit/Source/WebCore/dom/ |
Attr.cpp | 90 const AtomicString& Attr::namespaceURI() const 92 return m_attribute->namespaceURI(); 107 if ((prefix == xmlnsAtom && namespaceURI() != XMLNSNames::xmlnsNamespaceURI)
|
Attribute.h | 61 const AtomicString& namespaceURI() const { return m_name.namespaceURI(); }
|
/external/webkit/Source/WebCore/xml/ |
XPathStep.cpp | 83 ASSERT(first->m_nodeTest.namespaceURI().isEmpty()); 88 first->m_nodeTest = Step::NodeTest(second->m_nodeTest.kind(), second->m_nodeTest.data(), second->m_nodeTest.namespaceURI()); 171 const AtomicString& namespaceURI = nodeTest.namespaceURI(); 177 if (node->namespaceURI() == XMLNSNames::xmlnsNamespaceURI) 181 return namespaceURI.isEmpty() || node->namespaceURI() == namespaceURI; 183 return node->localName() == name && node->namespaceURI() == namespaceURI; [all...] |