jaxp
  1. jaxp
  2. JAXP-34

Inconsistent exception thrown in SchemaFactory

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: jaxp.next
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • 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

        Activity

        Hide
        ndw added a comment -

        We'll look at this for V.next

        Show
        ndw added a comment - We'll look at this for V.next

          People

          • Assignee:
            jaxp-issues
            Reporter:
            ndw
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: