You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2006/08/19 02:31:14 UTC

[jira] Updated: (XERCESJ-1179) SchemaFactory#newSchema("non existinf file") should throw IOException

     [ http://issues.apache.org/jira/browse/XERCESJ-1179?page=all ]

Michael Glavassevich updated XERCESJ-1179:
------------------------------------------

    Component/s: JAXP (javax.xml.validation)
                     (was: XML Schema API)

> SchemaFactory#newSchema("non existinf file") should throw IOException
> ---------------------------------------------------------------------
>
>                 Key: XERCESJ-1179
>                 URL: http://issues.apache.org/jira/browse/XERCESJ-1179
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: JAXP (javax.xml.validation)
>            Reporter: Daniel Serodio
>
> SchemaFactory#newSchema("non existing file") throws SaxException. Shouldn't it throw IOException, for consistency with Validator#validateSource, for instance, and also to follow the "principle of least suprise" ?

-- 
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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org