[Bug 24551] New: Enhancement: a function for getting the base output uri


            Bug ID: 24551
           Summary: Enhancement: a function for getting the base output
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: XSLT 3.0
          Assignee: mike@saxonica.com
          Reporter: abel.braaksma@xs4all.nl
        QA Contact: public-qt-comments@w3.org

There is currently no deterministic way of getting the base output uri.
Typically, this is given as a user option when invoking the stylesheet with the
processor, i.e. on the command prompt.

The use-case for this is that it allows programmers to have more freedom
writing result documents that are relative to the output dir. In addition, many
expath-file extensions require a filename argument, allowing the output to be
in a certain structure relative to the static output uri can be beneficial.

In addition to this it allows for better diagnostics messages during
processing, currently the user has no way to say in a diagnostic message which
file is being written to.

I propose a functon base-output-uri(), analogous to functions like base-uri().

I hope this change is significantly small enough to be allowed during Last

You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 6 February 2014 00:36:59 UTC