Thanks, Gopal. I've committed the patch.

Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]



                                                                                       
                       
                    Gopal Sharma                                                       
                       
                    <Gopal.Sharma@       To:     [EMAIL PROTECTED]          
                       
                    Sun.COM>             cc:     [EMAIL PROTECTED]           
                       
                                         Subject:     [PATCHED] Re: external schema 
validation fails with     
                    12/26/2001            xerces-2.0 beta4 ?                           
                       
                    06:35 AM                                                           
                       
                    Please respond                                                     
                       
                    to                                                                 
                       
                    xerces-j-user                                                      
                       
                                                                                       
                       
                                                                                       
                       





 John Mani wrote:-

> I am parsing a xml document whose schema is defined in another document.
>
> I create a DOMParser, and set the following features/properties:
>
> parser.setFeature("http://apache.org/xml/features/validation/schema";,
> true);
> parser.setFeature("http://xml.org/sax/features/validation";, true);
> parser.setProperty(
>
> "
http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation
",
>  "myschema.xsd");
>
> However I get the following exception when running the program:
>  org.xml.SAXNotRecogonizedException:
>
http://apache.org/xml/properties/schema/external-noNamespaceSchemaLocation
> Bug ? I don't think I misspelt anything ...

  Yep, you are correct. Please use the attached modified file (.java) and
  build the jar(s) again. It should solve your problem.

  Gopal
  -----



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

#### StandardParserConfiguration.java has been removed from this note on
January 03 2002 by Sandy Gao
#### patch12_StandParserConfg has been removed from this note on January 03
2002 by Sandy Gao



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

Reply via email to