[Bug 2892] QName listed twice in state ITEMTYPE

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

           Summary: QName listed twice in state ITEMTYPE
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery/XPath Tokenizer
        AssignedTo: scott_boag@us.ibm.com
        ReportedBy: frans.englich@telia.com
         QAContact: public-qt-comments@w3.org


Hi,    
    
 I'm definitely no scanner expert so I can very well be wrong. Nevertheless:   
   
In the table for the ITEMTYPE state, QName is listed twice. Once in the second   
row after void(), and once on the sixth row next to item(). In the former case   
the action is a transition to OPERATOR while the latter is 
OCCURRENCEINDICATOR. I think the first occurrence of the QName should be 
removed, since the latter is sufficient and it would also avoid ambiguity. 
Perhaps the first QName was at somepoint added to handle when no occurrence 
indicator is specified(cardinality exactly-one), but the OCCURRENCEINDICATOR 
state handles that, from what I can tell. 
   
(Will file separately on void()/empty-sequence())   
   
 
Regards,   
Frans

Received on Saturday, 18 February 2006 13:01:49 UTC