[Bug 4647] smlerr:output - why exclude node sets including text nodes, PIs, comments, ... ?

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

           Summary: smlerr:output - why exclude node sets including text
                    nodes, PIs, comments, ... ?
           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


The description of the 'expression' attribute on smlerr:output says,
among other things, "If the node set contains namespace, processing 
instructions, comments, or text nodes, then no output is generated."

Whether this means "no output is generated for text nodes, etc., 
only for elements and attributes in the node set" or "if there
is anything but elements and attributes in the node set, no 
output at all is generated" (the words are imperfectly clear to me),
the refusal to generate output for text nodes, etc., seems 
unmotivated.  The design would be simpler and the spec more useful
if this restriction were dropped.

Received on Wednesday, 13 June 2007 18:44:34 UTC