Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-861

SCXML - The Repository Path resolver was implemented wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.26.00-alpha-1, 2.26.00
    • Component/s: None
    • Labels:
    • Similar issues:
    • Sprint:
      Sprint 69

      Description

      The current implementation, RepositorySCXMLRegistry.RepositoryPathResolver was implemented with wrong assumption.

      As javadoc says, PathResolver is basically responsible for translating the (URL) path which is normally read from 'src' attribute (e.g, <invoke/>) into a physical URL. For example, "/a/b/c.xml" --> "http://localhost:8080/a/b/c.xml" or "file://base/path/a/b/c.xml".

      So, the interface is totally unrelated to XML Include or something similar.
      With the current specification, it's only meaningful for <invoke src="url"/> now.

      Therefore, I think we can just use the built-in URLResolver instead.

        Attachments

          Activity

            People

            • Assignee:
              adouma Ate Douma
              Reporter:
              wko Woonsan Ko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: