[JAXP-34] Inconsistent exception thrown in SchemaFactory Created: 24/Apr/07  Updated: 02/Oct/07

Status: Open
Project: jaxp
Component/s: www
Affects Version/s: jaxp.next
Fix Version/s: milestone 1

Type: Bug Priority: Major
Reporter: ndw Assignee: jaxp-issues
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issuezilla Id: 34

 Description   

I've been carrying this around for a long time in a mail folder. Time to make it
a bug report

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" ?

Thanks in advance,
Daniel Serodio



 Comments   
Comment by ndw [ 02/Oct/07 ]

We'll look at this for V.next

Generated at Sun Apr 26 23:30:59 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.