[Bug 29024] New: fn:serialize needs clarification when method parameter set from a map

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29024

            Bug ID: 29024
           Summary: fn:serialize needs clarification when method parameter
                    set from a map
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: josh.spiegel@oracle.com
        QA Contact: public-qt-comments@w3.org
  Target Milestone: ---
             Group: XSLXQuery_WG

In section 14.7.3 fn:serialize, when specifying $params as a map it says:

"For the union type method-type, an instance of either xs:string or xs:QName as
appropriate."

It isn't clear what should happen when a method value is a QName in no
namespace.  e.g.

   fn:serialize(<e/>, map { "method" : QName("", "xml") })

Is this an error?  Or is it equivalent to:

   fn:serialize(<e/>, map { "method" : "xml" })

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

Received on Monday, 3 August 2015 20:22:02 UTC