[Bug 10955] New: [FO11] Observation on new functions

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10955

           Summary: [FO11] Observation on new functions
           Product: XPath / XQuery / XSLT
           Version: Member-only Editors Drafts
          Platform: PC
               URL: http://www.w3.org/XML/Group/qtspecs/specifications/xpa
                    th-functions-11/html/Overview.html
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 1.1
        AssignedTo: mike@saxonica.com
        ReportedBy: tim@cbcl.co.uk
         QAContact: public-qt-comments@w3.org
             Group: XSLXQuery_WG


Many existing F&O functions have signatures of the form:

func-name($arg as T?) as T?

which return an empty sequence when the argument is the empty sequence.

I was surprised that some of the new functions, such as:

 fn:get-environment-variable
 fn:parse-xml
 fn:serialize

don't follow this convention, and wondered if there was a good reason why not.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 1 October 2010 15:07:14 UTC