Validating xml against xsd in java
To get those characters, you would add the This code simply generates a message to let you know that ignorable white space was seen. The SAX specification does not require that this method be invoked.The Java XML implementation does so whenever the DTD makes it possible.The program is configured to take additional arguments when it is started, which tell it to implement no validation, DTD validation, XML Schema Definition (XSD) validation, or XSD validation against a specific schema source file.(Descriptions of these options, to configure the factory to return a namespace-aware parser.
Sun's implementation supports any combination of configuration options.
(If a combination is not supported by a particular implementation, it is required to generate a factory configuration error).