[Bug 1576] New: [FS] technical: 4.1.5 Function Calls: AtomizeAtomic

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

           Summary: [FS] technical: 4.1.5 Function Calls: AtomizeAtomic
           Product: XPath / XQuery / XSLT
           Version: Last Call drafts
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Formal Semantics
        AssignedTo: simeon@us.ibm.com
        ReportedBy: jmdyck@ibiblio.org
         QAContact: public-qt-comments@w3.org


4.1.5 Function Calls
Notation
[]_AtomizeAtomic()
"and Expr : Type and not(Type=empty)"
    I'm not clear on the need for these conditions. They restrict the
    catchment of the first (fn:data) alternative to expressions with a
    non-empty type; if you dropped these conditions, the only effect would
    be to move untypeable and empty-type expressions from the second to
    the first alternative. But untypeable expressions will raise an error
    in STA under either alternative, and empty-type expressions will yield
    the empty sequence under either alternative. [fn:data(()) == ()]
    So it seems to me that dropping the conditions would simplify the spec
    without changing the semantics.

Received on Thursday, 14 July 2005 04:05:36 UTC