diff --git a/xml/src/main/java/org/springframework/xml/xsd/SimpleXsdSchema.java b/xml/src/main/java/org/springframework/xml/xsd/SimpleXsdSchema.java index 09c69889..f7c5b06a 100644 --- a/xml/src/main/java/org/springframework/xml/xsd/SimpleXsdSchema.java +++ b/xml/src/main/java/org/springframework/xml/xsd/SimpleXsdSchema.java @@ -1,11 +1,11 @@ /* - * Copyright 2005-2010 the original author or authors. + * Copyright 2005-2011 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * - * http://www.apache.org/licenses/LICENSE-2.0 + * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, @@ -104,7 +104,7 @@ public class SimpleXsdSchema implements XsdSchema, InitializingBean { public void afterPropertiesSet() throws ParserConfigurationException, IOException, SAXException { Assert.notNull(xsdResource, "'xsd' is required"); - Assert.isTrue(this.xsdResource.exists(), "xsd '" + this.xsdResource + "' does not exit"); + Assert.isTrue(this.xsdResource.exists(), "xsd '" + this.xsdResource + "' does not exist"); DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder(); loadSchema(documentBuilder); }