Documentbuilderfactory setvalidating example


171 * In other words, it essentially just controls the DTD validation.

173 * See here for more details.) 174 * 175 * 176 * 177 * To use modern schema languages such as W3C XML Schema or 178 * RELAX NG instead of DTD, you can configure your parser to be 179 * a non-validating parser by leaving the 180 * method , then use the 181 * method to associate a schema to a parser.

182 * 183 * 184 * @param validating true if the parser produced will validate documents 185 * as they are parsed; false otherwise.

245 */ 246 247 public void set Coalescing(boolean coalescing) 250 251 /** 252 * Indicates whether or not the factory is configured to produce 253 * parsers which are namespace aware.

254 * 255 * @return true if the factory is configured to produce parsers which 256 * are namespace aware; false otherwise.

388 * 389 * 390 * Feature names are fully qualified s.