Home | History | Annotate | Download | only in xml

Lines Matching refs:doctype

78             = "<!DOCTYPE menu ["
99 private DocumentType doctype;
135 // doctype nodes
136 doctype = document.getDoctype();
137 if (doctype.getEntities() != null) {
138 sp = (Entity) doctype.getEntities().item(0);
140 if (doctype.getNotations() != null) {
141 png = (Notation) doctype.getNotations().item(0);
177 allNodes.addAll(Arrays.asList(document, doctype, menu, item, itemXmlns,
201 assertEquals(null, doctype.lookupNamespaceURI("a"));
234 assertEquals(null, doctype.lookupNamespaceURI(null));
272 assertEquals(null, doctype.lookupPrefix("http://addons"));
316 assertEquals(null, doctype.lookupPrefix("http://usda"));
348 assertFalse(doctype.isDefaultNamespace("http://food"));
385 assertTrue(message, doctype.isDefaultNamespace(null));
421 doctype.setTextContent("foobar"); // strangely, this is specified to no-op
630 assertTrue(doctype.isEqualNode(copy.doctype));
656 String xml = "<!DOCTYPE menu [\n"
967 if (node == document || node == doctype || node == sp || node == png) {
1179 assertNull(doctype.getBaseURI());
1435 " <!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\""
1438 doctype = document.getDoctype();
1439 assertEquals("html", doctype.getName());
1440 assertEquals("-//W3C//DTD HTML 4.01//EN", doctype.getPublicId());
1441 assertEquals("http://www.w3.org/TR/html4/strict.dtd", doctype.getSystemId());
1446 " <!DOCTYPE html SYSTEM \"http://www.w3.org/TR/html4/strict.dtd\">"
1448 doctype = document.getDoctype();
1449 assertEquals("html", doctype.getName());
1450 assertNull(doctype.getPublicId());
1451 assertEquals("http://www.w3.org/TR/html4/strict.dtd", doctype.getSystemId());
1456 " <!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01//EN'"
1459 doctype = document.getDoctype();
1460 assertEquals("html", doctype.getName());
1461 assertEquals("-//W3C//DTD HTML 4.01//EN", doctype.getPublicId());
1462 assertEquals("http://www.w3.org/TR/html4/strict.dtd", doctype.getSystemId());
1590 String xml = "<!DOCTYPE foo [ <!ENTITY def \"DEF\"> ]>"
1603 String xml = "<!DOCTYPE foo [ <!ENTITY def \"DEF\"> ]>"