[Bug 4906] In 3.4, don't write deref() function into the BNF

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

           Summary: In 3.4, don't write deref() function into the BNF
           Product: SML
           Version: unspecified
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: cmsmcq@w3.org
        ReportedBy: cmsmcq@w3.org
         QAContact: public-sml@w3.org


In section 3.4, the SML spec specifies that the XPath
expression in the sml:selector attribute must match a
grammar given in BNF form.  The grammar provides that 
the SML 'deref' function may be called in the XPath
expression, by including a production for a non-terminal
called DerefExpr.

It would probably be simpler (requiring less grammar, or
none) just to allow a normal XPath function call and
specify that the sml:deref function must be available in
the library of functions known to the XPath interpreter.
So I propose that the spec be changed to say that, instead
of conveying that fact through the grammar.

Received on Wednesday, 1 August 2007 21:19:36 UTC