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/18 15:40:13 UTC

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

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: XML Schema API
            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


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

Posted by "Daniel Serodio (JIRA)" <xe...@xml.apache.org>.
    [ 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


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

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ 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


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

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ 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