jaxp
  1. jaxp
  2. JAXP-25

Failing to <xs:import> should produce a warning

    Details

    • Type: Improvement Improvement
    • 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:
      25

      Description

      JAXP RI's XML Schema validator silently ignores <xs:import>s that failed to
      resolve for some reason — be it unreachable resource, a well-formedness error
      in the referenced XML, etc.

      The only failure reported is when one actually tries to refer to those components.

      While I know this is still within the conformance of XML Schema spec, in
      practice this makes error diagnostics hard, since people have no clue why their
      seemingly valid schema reference is not taking any effect.

      A warning about the failed import would be highly desirable.

        Activity

          People

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

            Dates

            • Created:
              Updated: