/external/webkit/Source/WebCore/xml/ |
xmlnsattrs.in | 2 namespaceURI="http://www.w3.org/2000/xmlns/"
|
xmlattrs.in | 2 namespaceURI="http://www.w3.org/XML/1998/namespace"
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
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...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
CreateDocument.java | 35 * The "createDocument(namespaceURI,qualifiedName,doctype)" method for a 40 * createDocument(namespaceURI,qualifiedName,doctype) on the retrieved 41 * DOMImplementation with namespaceURI being the literal string 84 String namespaceURI = "http://www.ecommerce.org/"; 96 domImpl.createDocument(namespaceURI, malformedName, docType); 104 String namespaceURI = null; 117 domImpl.createDocument(namespaceURI, qualifiedName, docType); 126 // String namespaceURI = "http://www.ecommerce.org/schema"; 127 // String qualifiedName = "namespaceURI:x"; 138 // domImpl.createDocument(namespaceURI, qualifiedName, docType) [all...] |
DocumentCreateElementNS.java | 13 * qualifiedName and NamespaceURI. 16 * namespaceURI and qualifiedName. Check if a valid Element object is returned 58 String namespaceURI = "http://www.w3.org/DOM/Test/level2"; 66 element = doc.createElementNS(namespaceURI, qualifiedName); 82 String namespaceURI = null; 90 doc.createElementNS(namespaceURI, qualifiedName); 100 String namespaceURI = null; 108 doc.createElementNS(namespaceURI, qualifiedName); 122 String namespaceURI = "http://www.w3.org/xml/1998/namespace "; 132 newDoc.createElementNS(namespaceURI, qualifiedName) [all...] |
HasAttributeNS.java | 75 String namespaceURI = "http://www.usa.com"; 83 state = testNode.hasAttributeNS(namespaceURI, localName); 88 String namespaceURI = "http://www.nomatch.com"; 96 state = testNode.hasAttributeNS(namespaceURI, localName); 101 String namespaceURI = "http://www.nist.gov"; 110 state = testNode.hasAttributeNS(namespaceURI, localName); 117 // String namespaceURI = "http://www.nist.gov"; 126 // state = testNode.hasAttributeNS(namespaceURI, localName); 131 String namespaceURI = "http://www.usa.com"; 139 state = testNode.hasAttributeNS(namespaceURI, localName) [all...] |
SetAttributeNS.java | 34 * The "setAttributeNS(namespaceURI,qualifiedName,Value)" method raises a 80 String namespaceURI = "http://www.nist.gov"; 92 ((Element) /* Node */testAddr).setAttributeNS(namespaceURI, 101 String namespaceURI = "http://www.nist.gov"; 114 ((Element) /* Node */testAddr).setAttributeNS(namespaceURI, 125 // String namespaceURI = "www.xyz.com"; 153 // genElement.setAttributeNS(namespaceURI, qualifiedName, 191 String namespaceURI = "http://www.newattr.com"; 202 ((Element) /* Node */testAddr).setAttributeNS(namespaceURI, 205 namespaceURI, localName) [all...] |
CreateElementNS.java | 34 * The "createElementNS(namespaceURI,qualifiedName)" method for a Document 37 * Invoke method createElementNS(namespaceURI,qualifiedName) on the XMLNS 38 * Document with namespaceURI being the literal string 81 String namespaceURI = "http://www.ecommerce.org/"; 90 doc.createElementNS(namespaceURI, malformedName); 98 String namespaceURI = null; 108 doc.createElementNS(namespaceURI, qualifiedName); 116 String namespaceURI = "http://www.wedding.com/"; 156 doc.createElementNS(namespaceURI, qualifiedName); 165 String namespaceURI = "http://www.w3.org/XML/1998/namespaces" [all...] |
GetAttributeNS.java | 32 * The "getAttributeNS(namespaceURI,localName)" method retrieves an attribute 33 * value by local name and NamespaceURI. 77 // String namespaceURI = "http://www.nist.gov"; 87 // attrValue = testAddr.getAttributeNS(namespaceURI, localName); 91 String namespaceURI = "http://www.nist.gov"; 101 newAttribute = doc.createAttributeNS(namespaceURI, qualifiedName); 108 attrValue = testAddr.getAttributeNS(namespaceURI, localName); 112 String namespaceURI = "http://www.nist.gov"; 122 testAddr.removeAttributeNS(namespaceURI, localName); 123 attrValue = testAddr.getAttributeNS(namespaceURI, localName) [all...] |
DocumentCreateAttributeNS.java | 40 * namespaceURI, and a qualifiedName without a prefix. This should return a 82 String namespaceURI = null; 89 attribute = doc.createAttributeNS(namespaceURI, qualifiedName); 109 String namespaceURI; 117 namespaceURI = attribute1.getNamespaceURI(); 125 "http://www.w3.org/XML/1998/namespace", namespaceURI); 132 namespaceURI = attribute2.getNamespaceURI(); 139 "http://www.w3.org/2000/xmlns/", namespaceURI); 144 String namespaceURI = "http://www.w3.org/DOM/Test/Level2"; 164 doc.createAttributeNS(namespaceURI, qualifiedName) [all...] |
DOMImplementationCreateDocument.java | 61 String namespaceURI = "http://www.w3.org/DOMTest/L2"; 79 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, 88 String namespaceURI = null; 99 domImpl.createDocument(namespaceURI, qualifiedName, docType); 110 String namespaceURI = "http://www.w3.org/xml/1998/namespace"; 120 domImpl.createDocument(namespaceURI, qualifiedName, docType); 131 String namespaceURI = "http://www.w3.org/DOMTest/level2"; 140 domImpl.createDocument(namespaceURI, ":", docType);
|
CreateAttributeNS.java | 63 String namespaceURI = "http://www.ecommerce.org/"; 72 doc.createAttributeNS(namespaceURI, malformedName); 80 String namespaceURI = null; 90 doc.createAttributeNS(namespaceURI, qualifiedName); 98 String namespaceURI = "http://www.wedding.com/"; 137 doc.createAttributeNS(namespaceURI, qualifiedName); 146 String namespaceURI = "http://www.w3.org/XML/1998/namespaces"; 155 doc.createAttributeNS(namespaceURI, qualifiedName); 163 String namespaceURI = "http://www.ecommerce.org/"; 169 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName) [all...] |
/external/webkit/Source/WebCore/svg/ |
xlinkattrs.in | 2 namespaceURI="http://www.w3.org/1999/xlink"
|
/external/webkit/Source/WebCore/mathml/ |
mathattrs.in | 2 namespaceURI="http://www.w3.org/1998/Math/MathML"
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
ElementImpl.java | 43 String namespaceURI; 49 ElementImpl(DocumentImpl document, String namespaceURI, String qualifiedName) { 51 setNameNS(this, namespaceURI, qualifiedName); 70 private int indexOfAttributeNS(String namespaceURI, String localName) { 73 if (Objects.equal(namespaceURI, attr.getNamespaceURI()) 92 public String getAttributeNS(String namespaceURI, String localName) { 93 Attr attr = getAttributeNodeNS(namespaceURI, localName); 112 public AttrImpl getAttributeNodeNS(String namespaceURI, String localName) { 113 int i = indexOfAttributeNS(namespaceURI, localName); 167 public NodeList getElementsByTagNameNS(String namespaceURI, String localName) [all...] |
/external/webkit/Source/WebCore/wml/ |
WMLAttributeNames.in | 2 namespaceURI="http://www.wapforum.org/DTD/wml_1.1.xml"
|
/external/webkit/LayoutTests/fast/dom/Node/ |
initial-values-expected.txt | 10 PASS attr.namespaceURI is null 19 PASS attr.namespaceURI is 'http://www.example.com' 28 PASS attr.namespaceURI is null 37 PASS attr.namespaceURI is 'http://www.example.com' 44 PASS comment.namespaceURI is null 52 PASS cdata.namespaceURI is null 59 PASS fragment.namespaceURI is null 65 FAIL doc.namespaceURI should be http://www.w3.org/1999/xhtml (of type string). Was null (of type object). 72 PASS doctype.namespaceURI is null 79 FAIL element.namespaceURI should be null (of type object). Was http://www.w3.org/1999/xhtml (of type string) [all...] |
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
documentrenamenode04.js | 79 namespaceURI is null and name is pf. 81 nodeName, namespaceURI, nodeType attributes of the renamed node. 94 var namespaceURI; 105 namespaceURI = renamedNode.namespaceURI; 108 assertNull("documentrenamenode04_namespaceURI",namespaceURI);
|
documentrenamenode05.js | 79 namespaceURI is null and name is rened. 81 nodeName, namespaceURI, nodeType attributes of the renamed node. 94 var namespaceURI; 107 namespaceURI = renamedNode.namespaceURI; 109 assertNull("documentrenamenode05_namespaceURI",namespaceURI);
|
nodelookupnamespaceuri02.js | 79 Using lookupNamespaceURI on a new Document node with a namespaceURI and prefix 80 and check if the value returned is the same namespaceURI. 92 var namespaceURI; 107 rootNS = docElem.namespaceURI; 114 namespaceURI = newDoc.lookupNamespaceURI("dom3"); 115 assertEquals("nodelookupnamespaceuri02",rootNS,namespaceURI);
|
nodelookupnamespaceuri05.js | 80 namespaceURI and prefix and check if the namespaceURI value returned is valid. 93 var namespaceURI; 108 rootNS = docElem.namespaceURI; 117 namespaceURI = elem.lookupNamespaceURI("dom3"); 118 assertEquals("nodelookupnamespaceuri05",rootNS,namespaceURI);
|
/libcore/luni/src/main/java/org/w3c/dom/ |
NameList.java | 35 * Returns the <code>index</code>th namespaceURI item in the collection. 44 * The number of pairs (name and namespaceURI) in the list. The range of 58 * Test if the pair namespaceURI/name is part of this 60 * @param namespaceURI The namespace URI to look for. 62 * @return <code>true</code> if the pair namespaceURI/name has been 65 public boolean containsNS(String namespaceURI,
|
/external/webkit/Source/WebCore/dom/ |
QualifiedName.h | 40 static PassRefPtr<QualifiedNameImpl> create(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI) 42 return adoptRef(new QualifiedNameImpl(prefix, localName, namespaceURI)); 51 QualifiedNameImpl(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI) 54 , m_namespace(namespaceURI) 56 ASSERT(!namespaceURI.isEmpty() || namespaceURI.isNull()); 60 QualifiedName(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI); 61 QualifiedName(const AtomicString& prefix, const char* localName, const AtomicString& namespaceURI); 75 bool matches(const QualifiedName& other) const { return m_impl == other.m_impl || (localName() == other.localName() && namespaceURI() == other.namespaceURI()); } [all...] |
/external/webkit/LayoutTests/fast/dom/getElementsByClassName/resources/ |
common.js | 16 log += "Got element `" + collection[i].tagName + "` (" + collection[i].namespaceURI + ")" 17 log += ", expected element `" + elements[i].tagName + "` (" + elements[i].namespaceURI + "). "
|
/external/webkit/LayoutTests/fast/dom/Node/script-tests/ |
initial-values.js | 12 shouldBe("attr.namespaceURI", "null"); 23 shouldBe("attr.namespaceURI", "'http://www.example.com'"); 36 shouldBe("attr.namespaceURI", "null"); 47 shouldBe("attr.namespaceURI", "'http://www.example.com'"); 56 shouldBe("comment.namespaceURI", "null"); 66 shouldBe("cdata.namespaceURI", "null"); 75 shouldBe("fragment.namespaceURI", "null"); 85 shouldBe("doc.namespaceURI", "'http://www.w3.org/1999/xhtml'"); 94 shouldBe("doctype.namespaceURI", "null"); 105 // FF returns null for namespaceURI, WebKit returns http://www.w3.org/1999/xhtml, the spec says we should return nul [all...] |