[Bug 4974] Clarify error condition in fn:normalize-space()

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

           Summary: Clarify error condition in fn:normalize-space()
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Functions and Operators
        AssignedTo: mike@saxonica.com
        ReportedBy: chamberl@almaden.ibm.com
         QAContact: public-qt-comments@w3.org


This is an editorial suggestion. The description of fn:normalize-space()
contains the following sentence:

"If no argument is supplied or if the argument is the context item and the
context item is undefined an error is raised."

This could be misinterpreted as "If no argument is supplied, or (...), then an
error is raised."

A less ambiguous way to state this rule is as follows:
"If the implicit or explicit argument is the context item, and the context item
is undefined, an error is raised."

Regards,
Don Chamberlin

Received on Tuesday, 21 August 2007 20:49:51 UTC