Gurdev Parmar wrote:

Features:
http://apache.org/xml/features/validation/schema  to true.
http://xml.org/sax/features/namespaces to true
http://xml.org/sax/features/validation to true

It was my own stupidity that kept me from validating the file:

as you can see I only set the validation feature:

>>reader.setFeature("http://xml.org/sax/features/validation";, true);
>>reader.setFeature("http://xml.org/sax/features/validation/schema",true);

the second feature string was incorrect - late night programming ;-)

Reinhard

--
Reinhard Brandstaedter   [EMAIL PROTECTED]  GPG: 0x033B81DB
-    Student of Computer Science - J.K. University of Linz     -
-        <ICQ: 73059068>    <Mobile: +43 699 12419541>         -
-                  http://adelaide.dnsalias.net                -

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



Reply via email to