[Bug 3654] Confusion over error condition

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

           Summary: Confusion over error condition
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery
        AssignedTo: chamberl@almaden.ibm.com
        ReportedBy: jsnelson@sleepycat.com
         QAContact: public-qt-comments@w3.org


In bug #3646 I misunderstood the description of an error condition in section
4.14:

  The static context for an initializing expression includes all functions that
  are declared or imported anywhere in the Prolog, but it includes only those
  variables and namespaces that are declared or imported earlier in the Prolog
  than the variable that is being initialized. If an initializing expression
  cannot be evaluated because of a circularity (for example, it depends on a
  function that in turn depends on the value of the variable that is being
  initialized), a static error is raised [err:XQST0054].

I feel that the last sentance in the paragraph above should be given it's own
paragraph, to avoid confusion arising from it's perceived association with the
previous discussion on the static context for an initializing expression.

Received on Tuesday, 5 September 2006 07:59:08 UTC