Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
3 | |||
17 | |||
18 | |||
19 | |||
20 | |||
21 |
|
||
22 |
|
||
23 | |||
24 | The method replaceChild replaces the child node oldChild with newChild in the list of |
||
25 | children, and returns the oldChild node. |
||
26 | |||
27 | Using replaceChild on this DocumentType node attempt to replace an Entity node with |
||
28 | a notation node of retieved from the DTD of another document and verify if a |
||
29 | NO_MODIFICATION_ALLOWED_ERR is thrown since DocumentType node is read-only. |
||
30 | Also try replacing the docType with an entity node and see if the same exception gets thrown. |
||
31 | |||
32 |
|
||
33 |
|
||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | |||
51 | |||
52 | |||
53 | |||
54 | |||
55 | |||
56 | |||
57 | |||
58 | |||
59 | |||
60 | |||
61 | |||
62 | |||
63 | |||
64 | !DOCTYPE>!-- |