Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-2297

URIResolver passed wrong base URI for nested include/import

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.7.1
    • parse-or-compile
    • None
    • PatchAvailable

    Description

      When a user's URI resolver is called the base URI it is given is always the base uri of the primary document. If an included or imported stylesheet itself include another stylesheet then at this point the base is wrong.

      Attachments

        1. patch2.txt
          11 kB
          Brian Minchau
        2. patch.txt
          0.8 kB
          Brian Minchau
        3. include-import-patch4.txt
          2 kB
          Brian Minchau
        4. include-import-patch3.txt
          7 kB
          Brian Minchau
        5. 2297.zip
          3 kB
          Brian Minchau

        Issue Links

          Activity

            People

              minchau@ca.ibm.com Brian Minchau
              minchau@ca.ibm.com Brian Minchau
              Christine Li Christine Li
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: