posted 19 years ago
solved it
saxBuilder.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true);
//Specify a Schema to validate an XML document with.
saxBuilder.setProperty("http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation","test.xsd");