W3C home > Mailing lists > Public > public-sml@w3.org > June 2007

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

From: <bugzilla@wiggum.w3.org>
Date: Wed, 13 Jun 2007 18:44:30 +0000
CC:
To: public-sml@w3.org
Message-Id: <E1HyXpW-0001Zk-RQ@wiggum.w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:16:53 GMT