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 "Daniel Serodio (JIRA)" <xe...@xml.apache.org> on 2006/08/24 22:17:56 UTC

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

    [ http://issues.apache.org/jira/browse/XERCESJ-1179?page=comments#action_12430301 ] 
            
Daniel Serodio commented on XERCESJ-1179:
-----------------------------------------

I mailed jsr-206-comments@jcp.org and got the following response from Jeff Suttor:

"hi Daniel,

consistency and least astonishment are valuable.   :) 

would you be open to filing an RFE

	http://bugs.sun.com

or an issue

	http://jaxp.dev.java.net

to insure this is addressed?
as this would be a public API change, it will have to be part of
JAXP.next.   

thanks,

--
Jeff"

I filed https://jaxp.dev.java.net/issues/show_bug.cgi?id=9

> 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