Turning off the feature
"http://apache.org/xml/features/validation/schema-full-checking"; would do
the trick.

But it is indeed an error in the schema, and should be fixed.

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



                                                                                
                                    
                    "Kumuda                                                     
                                    
                    Rajarshi"             To:     <[EMAIL PROTECTED]>           
                         
                    <[EMAIL PROTECTED]       cc:                                
                                       
                    gmate.com>            Subject:     Error while validating 
an XML against Schema                 
                                                                                
                                    
                    05/23/2001                                                  
                                    
                    06:34 AM                                                    
                                    
                    Please respond                                              
                                    
                    to                                                          
                                    
                    xerces-j-user                                               
                                    
                                                                                
                                    
                                                                                
                                    



                                                                                
               
 Hello                                                                          
               
 I am getting the following error while validating an XML,                      
               
                                                                                
               
 [Error] :-1:-1: Schema error: cos-nonambig: (xmlns:xsd:null) and (##any:*) 
viola              
 te the "Unique Particle Attribution" rule.                                     
               
                                                                                
               
 In my Schema I have an Element which is of type #any.                          
               
 But I can't change my Schema,                                                  
               
 So, without changing Schema, How to overcome this Problem while Validating     
               
 Thank you                                                                      
               
                                                                                
               
                                                                                
               
                                                                                
               
                                                                                
               
                                                                                
               
                                                                                
               
                                                                                
               
                                                                                
               


____________________________________________________
(Embedded image moved to file: pic17380.gif)  IncrediMail - Email has
finally evolved - Click Here

<<attachment: pic17380.gif>>

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

Reply via email to