Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2840

Relative include/import schemaLocations should not be resolved absolutely

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 3.6.0
    • Front End
    • None

    Description

      If a schemaLocation path is relative, then it should only be found relative to the importing schema. Only absolute schemaLocation paths search the classpath. Currently, if a schemaLocation path does not start with a /, it will append one and look on the classpath. This makes it ambiguous if a path should be looked up relative to the importing file or if it should be found on the classpath. This can cause extra complexity down the line.

      Note that we may want to fallback to this behavior if a include/import is not found relatively, and output a warning, since many schemas do expect this behavior.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: