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

Xalan-J accepts a string as the second argument of the document() function.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4
    • None
    • None
    • Operating System: Windows NT/2K
      Platform: PC
    • 11380

    Description

      When using the document() function to retrieve an external document during a
      transformation, I used this string ("../XML/") as the second parameter. I
      intended it to function as a file system path relative to the directory from
      which I was excecuting the command line version of Xalan-J. It worked.

      Those far wiser than me on the Mulberry Tech XSLT list pointed out that it is
      incorrect for the document() function to accept a string as the second
      parameter, that the correct type for the second parameter is a node set, and
      went on to point out the relevant part of the spec, further urging me to report
      this convenient, if non-conformant behavior to you.

      This, I have done.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cknell@onebox.com Charles Knell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: