This error is reported when you have something like
 <someelement xmlns:xml="someuri" ...>

Is it possible that your local schemas aren't exactly the same as those on
the internet? Since you only see this error when using local schemas, I
suspect your local copy contains the above mentioned error.

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



                                                                                
                                                
                      "Morealli, Lori"                                          
                                                
                      <[EMAIL PROTECTED]        To:       "'[EMAIL PROTECTED]'" 
<[EMAIL PROTECTED]>,       
                      >                         "'[email protected]'" 
<[email protected]>                   
                                               cc:                              
                                                
                      06/11/2003 10:05         Subject:  XML namespace 
issue......                                              
                      AM                                                        
                                                
                      Please respond to                                         
                                                
                      xerces-j-user                                             
                                                
                                                                                
                                                
                                                                                
                                                



Xerces Members:

I am having a problem parsing an xml instance that contains in imported xml
schema.  I have set the parser to look for the xml schema locally, via the
external schema location property.  I get the following error:
  ERROR: The prefix "xml" cannot be bound to any namespace other than its
usual namespace; neither can the namespace for "xml" be bound to any prefix
other than "xml".
The only workaround to this is to set the parser to look for the xml schema
on the Internet. Can anyone tell me if there is a certain property or
feature that I must set that will allow the parser to parse against a local
xml schema so that an internet connection will not be necessary?


~~~~~~~~~~~~~~~~~~~~~~
Lori Morealli
Software Engineer
Concurrent Technologies Corporation
Johnstown, PA 15904
814-269-6564
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~


---------------------------------------------------------------------
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