1 | void testEntityNoCatalog() {↵ | | 1 | void testDocumentNoCatalog() {↵
|
2 | configureProject("src/etc/testcases/types/xmlcatalog.xml");↵ | | 2 | configureProject("src/etc/testcases/types/xmlcatalog.xml");↵
|
3 | expectPropertySet("testentitynocatalog", "val1",↵ | | 3 | expectPropertySet("testdocumentnocatalog", "val3",↵
|
4 | "A stitch in time saves nine");↵ | | 4 | "A stitch in time saves nine");↵
|
5 | }↵ | | 5 | }↵
|
|
6 | //↵ | | 6 | //↵
|
7 | // Ensure that an external entity resolves as expected Using an↵ | | 7 | // Ensure that an external entity resolves as expected Using an↵
|
8 | // XMLCatalog:↵ | | 8 | // XMLCatalog:↵
|
9 | //↵ | | 9 | //↵
|
10 | // Transform an XML file that refers to the entity into a text↵ | | 10 | // Transform an XML file that contains a reference to a _second_ XML file↵
|
| | | 11 | // via the document() function. The _second_ XML file refers to an entity.↵
|
11 | // file, entity is listed in the XMLCatalog pointing to a↵ | | 12 | // The entity is listed in the XMLCatalog pointing to a↵
|
12 | // different file.↵ | | 13 | different file.↵
|
13 | Stuff result into property: val2↵ | | 14 | // Stuff result into the property: val4↵
|
14 | //↵ | | 15 | //↵
|
15 | public void testEntityWithCatalog() {↵ | | 16 | public void testDocumentWithCatalog() {↵
|
16 | configureProject("src/etc/testcases/types/xmlcatalog.xml");↵ | | 17 | configureProject("src/etc/testcases/types/xmlcatalog.xml");↵
|
17 | expectPropertySet("testentitywithcatalog", "val2",↵ | | 18 | expectPropertySet("testdocumentwithcatalog", "val4",↵
|
18 | "No news is good news");↵ | | 19 | "No news is good news");↵
|
19 | } | | 20 | }
|