Hello,

I have the strage problem im my quite ancient environment ( Sun Solaris, JDK
1.3.x and BEA WebLogic 5.1). I cannot perform Schema checking with the
following code:

org.apache.xerces.parsers.SAXParser parser = new
org.apache.xerces.parsers.SAXParser();
parser.setFeature("http://xml.org/sax/features/validation";, true);
parser.setFeature("http://apache.org/xml/features/validation/schema";, true);
parser.setFeature("http://apache.org/xml/features/validation/schema-full-che
cking", true);
parser.setErrorHandler(this);
String inputXML = args[0];
parser.parse(new InputSource(new FileInputStream(inputXML)));

The parsed XML has the proper XSD Schema reference. The program runs OK
outside the WebLogic server, but when called inside Axis WebService run
inside the server it just do nothing. No eeror messages are displayed. It
looks as it does not perform schema checking anymore.

The question is what cicumstances could make that schama validation is not
performed, or, how to check what really happans when I call this code.

The class has error and falatError methods implemented and prints reasonable
messages when run outside the server.

I compiled Xerces 2.8.1 with JDK 1.3 but the same proeblem remains when I
get the libs from binary distribution.

sincerely Olek



----------------------------------------------------------------------
Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to