[ 
https://issues.apache.org/jira/browse/XERCESJ-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Glavassevich reassigned XERCESJ-1124:
---------------------------------------------

    Assignee: Michael Glavassevich

> Nonspecific schema error message
> --------------------------------
>
>                 Key: XERCESJ-1124
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1124
>             Project: Xerces2-J
>          Issue Type: Improvement
>          Components: XML Schema API
>    Affects Versions: 2.7.1
>            Reporter: elharo
>            Assignee: Michael Glavassevich
>            Priority: Minor
>
> The following error message recently popped out of Xerces:
> [Warning] :5:2: schema_reference.4: Failed to read schema document 
> 'cml0.xsd', because 1) could not find the document; 2) the document 
> could not be read; 3) the root element of the document is not <xsd:schema>.
> This is unhelpful. The reason the reading failed is either 1, or 2, or 3. 
> Xerces should distinguish all three cases and only use the error message that 
> reflects the actual problem.  
> Grepping the source this string appears in XMLSchemaMessages.properties. I'm 
> not sure where in the Java code the distinction needs to be made. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-dev-h...@xerces.apache.org

Reply via email to