1 | void testDocumentNoCatalog() {↵ | | 1 | void testEntityNoCatalog() {↵
|
2 | configureProject("src/etc/testcases/types/xmlcatalog.xml");↵ | | 2 | configureProject("src/etc/testcases/types/xmlcatalog.xml");↵
|
3 | expectPropertySet("testdocumentnocatalog", "val3",↵ | | 3 | expectPropertySet("testentitynocatalog", "val1",↵
|
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 contains a reference to a _second_ XML file↵ | | 10 | // Transform an XML file that ↵
|
11 | // via the document() function. The _second_ XML file refers to an entity.↵ | | 11 | refers to the entity into a text↵
|
12 | // The entity is listed in the XMLCatalog pointing to a↵ | | 12 | // file, entity is listed in the XMLCatalog pointing to a↵
|
13 | different file.↵ | | 13 | // different file.↵
|
14 | // Stuff result into the property: val4↵ | | 14 | Stuff result into property: val2↵
|
15 | //↵ | | 15 | //↵
|
16 | public void testDocumentWithCatalog() {↵ | | 16 | public void testEntityWithCatalog() {↵
|
17 | configureProject("src/etc/testcases/types/xmlcatalog.xml");↵ | | 17 | configureProject("src/etc/testcases/types/xmlcatalog.xml");↵
|
18 | expectPropertySet("testdocumentwithcatalog", "val4",↵ | | 18 | expectPropertySet("testentitywithcatalog", "val2",↵
|
19 | "No news is good news");↵ | | 19 | "No news is good news");↵
|
20 | | | 20 |
|