Sandy, thanks for your reply.  I figured out yesterday that validation was
the problem.  I decided to use the dynamic validation feature -- if a
schema is specified, the parser uses it to validate; otherwise, no
validation is performed.  This way, whether I'm parsing a schema document
or instance document, I can successfully build a DOM.

Jeff


                                                                                
                                   
                    [EMAIL PROTECTED]                                           
                                       
                    bm.com               To:     [EMAIL PROTECTED]              
                        
                                         cc:                                    
                                   
                    02/22/02             Subject:     Re: Schema Error          
                                   
                    11:19 AM                                                    
                                   
                    Please                                                      
                                   
                    respond to                                                  
                                   
                    xerces-j-user                                               
                                   
                                                                                
                                   
                                                                                
                                   




Did you turn on the "validation" feature? You shouldn't, since the parser
don't know against which schema to validate your schema file.

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




                    "Jeff Orris"
                    <[EMAIL PROTECTED]       To:
[EMAIL PROTECTED]
                    cess.org>            cc:
                                         Subject:     Schema Error
                    02/20/2002
                    05:09 PM
                    Please respond
                    to
                    xerces-j-user






I receive the following error when I attempt to use the DOMParser in
XML4J-3_2_1 to create a Document from a schema file:

(Embedded image moved to file: pic22308.pcx)
Any ideas as to what is causing the error and how to resolve it?

Jeff

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

#### pic22308.pcx has been removed from this note on February 22 2002 by
Sandy Gao



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





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

Reply via email to