Uploaded image for project: 'Xerces2-J'
  1. Xerces2-J
  2. XERCESJ-1179

SchemaFactory#newSchema("non existinf file") should throw IOException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            dserodio Daniel Serodio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: