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

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.26.00-alpha-1, 2.26.00
    • None
    • 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

            adouma Ate Douma (Inactive)
            wko Woonsan Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: