xsd:import failure should produce a warning at least
----------------------------------------------------

         Key: XERCESJ-1075
         URL: http://issues.apache.org/jira/browse/XERCESJ-1075
     Project: Xerces2-J
        Type: Bug
  Components: XML Schema Structures  
    Versions: 2.6.2    
    Reporter: Kohsuke Kawaguchi


Currently, Xerces is designed to ignore a failure to load a schema referenced 
by <xs:import>.
This includes a wide range of conditions such as:

  - unable to find the resource pointed by @schemaLocation (such as typo, 
incorrect URL, proxy configuration error)
  - unable to parse the referenced file (such as a wrong DOCTYPE, 
well-formedness error)

Many of them are very common errors among developers. When a mistake like this 
is made,
Xerces typically reports "unable to resolve components from this namespace 
...", and left
developers clueless as to what is the actual problem.

This behavior is really not user-friendly.

At least a warning should be issued for unresolved <xs:import>s, showing why it 
fails to resolve.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to