The parser would be handling that, so I'm not sure.  Unless your document
contains a schema hint, I wonder why it would even try.

Some of our tests contain DTDs, and we run with validation enabled, and I
haven't noticed anything strange.  What are you seeing?

Dave



                                                                                       
                                               
                      Brian Quinlan                                                    
                                               
                      <brian@sweetapp.         To:      [EMAIL PROTECTED]       
                                               
                      com>                     cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                          
                                               Subject: Schema question                
                                               
                      09/22/2002 04:44                                                 
                                               
                      PM                                                               
                                               
                      Please respond                                                   
                                               
                      to xalan-dev                                                     
                                               
                                                                                       
                                               
                                                                                       
                                               



It looks like Xalan 1.4 (really Xerces 2.1) is trying to load a schema
file when I turn validation on (using XMLParserLiason.setUseValidation).
My XML file looks like:

<!DOCTYPE message SYSTEM "test.dtd">
<messages><message>bye bye!</message></messages>

Is it intended that enabling validation triggers the search for a schema
file when the XML file already contains a DTD?

Cheers,
Brian




Reply via email to