| org.eclipse.wst.html.core.tests.parser.ElementTest2 |
| Source : |
| <a><b>c</b></a> |
| |
| |
| StructuredDocument Regions : |
| [0, 3] (<a>) |
| [3, 6] (<b>) |
| [6, 7] (c) |
| [7, 11] (</b>) |
| [11, 15] (</a>) |
| |
| Tree : |
| #document |
| --a/a@[0, 3] (<a>)@[11, 15] (</a>) |
| ----b/b@[3, 6] (<b>)@[7, 11] (</b>) |
| ------#text(c)@[6, 7] (c) |
| |
| a.tagName=x:a |
| Source : |
| <x:a><b>c</b></x:a> |
| |
| |
| StructuredDocument Regions : |
| [0, 5] (<x:a>) |
| [5, 8] (<b>) |
| [8, 9] (c) |
| [9, 13] (</b>) |
| [13, 19] (</x:a>) |
| |
| Tree : |
| #document |
| --x:a/x:a@[0, 5] (<x:a>)@[13, 19] (</x:a>) |
| ----b/b@[5, 8] (<b>)@[9, 13] (</b>) |
| ------#text(c)@[8, 9] (c) |
| |
| Source : |
| <x:a><y:b>c</y:b></x:a> |
| |
| |
| StructuredDocument Regions : |
| [0, 5] (<x:a>) |
| [5, 10] (<y:b>) |
| [10, 11] (c) |
| [11, 17] (</y:b>) |
| [17, 23] (</x:a>) |
| |
| Tree : |
| #document |
| --x:a/x:a@[0, 5] (<x:a>)@[17, 23] (</x:a>) |
| ----y:b/y:b@[5, 10] (<y:b>)@[11, 17] (</y:b>) |
| ------#text(c)@[10, 11] (c) |
| |