jaxp
  1. jaxp
  2. JAXP-9

Inconsistent exception thrown in SchemaFactory

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      9

      Description

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

        Activity

          People

          • Assignee:
            ndw
            Reporter:
            dserodio
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: