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:42:14 UTC

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

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

Michael Glavassevich resolved XERCESJ-1179.
-------------------------------------------

    Resolution: Invalid

The class/method you're asking about is part of JAXP 1.3, a standard developed through the JCP. You should send your comments to the appropriate forum (i.e.  jsr-206-comments@jcp.org).  There's nothing that can be done about this in Xerces and given that JAXP 1.3 went final without having IOException in the throws clause of this method adding it now would be a backwards incompatible change.

> 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