From: <bo...@us...> - 2010-08-10 16:06:49
|
Revision: 422 http://xmlunit.svn.sourceforge.net/xmlunit/?rev=422&view=rev Author: bodewig Date: 2010-08-10 16:06:43 +0000 (Tue, 10 Aug 2010) Log Message: ----------- use XML file without schema location Modified Paths: -------------- trunk/xmlunit/src/tests/net-core/validation/ValidatorTest.cs Modified: trunk/xmlunit/src/tests/net-core/validation/ValidatorTest.cs =================================================================== --- trunk/xmlunit/src/tests/net-core/validation/ValidatorTest.cs 2010-08-10 16:03:53 UTC (rev 421) +++ trunk/xmlunit/src/tests/net-core/validation/ValidatorTest.cs 2010-08-10 16:06:43 UTC (rev 422) @@ -33,7 +33,7 @@ public void ShouldSuccessfullyValidateInstance() { Validator v = Validator.ForLanguage(Languages.W3C_XML_SCHEMA_NS_URI); v.SchemaSource = new StreamSource(TestResources.TESTS_DIR + "Book.xsd"); - ValidationResult r = v.ValidateInstance(new StreamSource(TestResources.TESTS_DIR + "BookXsdGenerated.xml")); + ValidationResult r = v.ValidateInstance(new StreamSource(TestResources.TESTS_DIR + "BookXsdGeneratedNoSchema.xml")); IEnumerator<ValidationProblem> problems = r.Problems.GetEnumerator(); bool haveErrors = problems.MoveNext(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |