The file containing this line is at you can also see it at This is a fatal error, so it cannot be recovered from.
ERROR MESSAGES/STACK TRACES THAT OCCUR : SAX Exception: Character reference "" is an invalid XML character.
W3C_XML_SCHEMA_NS_URI); try catch (SAXException e) catch (IOException e) but you could just as easily validate against a local file.
Source xml File = new Stream Source(new File("web.xml")); Schema Factory schema Factory = Schema Factory Instance(XMLConstants.
In the context of Extensible Markup Language (XML), validation normally involves writing a detailed specification for the document's contents in any of several schema languages such as the World Wide Web Consortium (W3C) XML Schema Language (XSD), RELAX NG, Document Type Definitions (DTDs), and Schematron.
Sometimes validation is performed while parsing, sometimes immediately after.