From 7a3e19b694650282bac66b23aaae82c06dc8b59b Mon Sep 17 00:00:00 2001 From: Matthias Neeracher Date: Fri, 2 Sep 2011 17:12:22 +0200 Subject: [PATCH] TVLXML works --- Tests/TVLXML/TVLXML.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/TVLXML/TVLXML.mm b/Tests/TVLXML/TVLXML.mm index 8ccd281..fd9b6e1 100644 --- a/Tests/TVLXML/TVLXML.mm +++ b/Tests/TVLXML/TVLXML.mm @@ -27,7 +27,7 @@ NSURL * dtdURL = [[NSBundle bundleForClass:[TVLXML class]] URLForResource:@"partwise" withExtension:@"dtd"]; NSXMLDTD * dtd = [[NSXMLDTD alloc] initWithContentsOfURL:dtdURL options:0 error:&err]; - [dtd setName:@"partwise.dtd"]; + [dtd setName:@"score-partwise"]; STAssertNotNil(dtd, @"DTD: %@\n", [err localizedDescription]); @@ -55,7 +55,7 @@ STAssertNotNil(xml, @"Parsing `%@': %@", testName, [err localizedDescription]); [xml setDTD:dtd]; - STAssertTrue([xml validateAndReturnError:&err], @"Validating `$@': %@", testName, [err localizedDescription]); + STAssertTrue([xml validateAndReturnError:&err], @"Validating `%@': %@", testName, [err localizedDescription]); } }