/** * Sets the strict parsing flag. * <p> * When set to <code>true</code>, this will cause the parser to operate in * a strict mode, which means that xml being parsed must be exactly correct * with respect to the schema it references. * </p> * <p> * Some examples of cases in which the parser will throw an exception while * operating in strict mode: * <ul> * <li>no 'schemaLocation' specified, or specified incorrectly * <li>element found which is not declared in the schema * </ul> * </p> * @param strict The strict flag. */ public void setStrict(boolean strict) { handler.setStrict(strict); }
/** * Sets the strict parsing flag. * <p> * When set to <code>true</code>, this will cause the parser to operate in * a strict mode, which means that xml being parsed must be exactly correct * with respect to the schema it references. * </p> * <p> * Some examples of cases in which the parser will throw an exception while * operating in strict mode: * <ul> * <li>no 'schemaLocation' specified, or specified incorrectly * <li>element found which is not declared in the schema * </ul> * </p> * @param strict The strict flag. */ public void setStrict(boolean strict) { handler.setStrict( strict ); }
/** * Sets the strict parsing flag. * <p> * When set to <code>true</code>, this will cause the parser to operate in * a strict mode, which means that xml being parsed must be exactly correct * with respect to the schema it references. * </p> * <p> * Some examples of cases in which the parser will throw an exception while * operating in strict mode: * <ul> * <li>no 'schemaLocation' specified, or specified incorrectly * <li>element found which is not declared in the schema * </ul> * </p> * @param strict The strict flag. */ public void setStrict(boolean strict) { handler.setStrict(strict); }