[Bug 2733] Editorial: templates in func-g*-equal()

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

           Summary: Editorial: templates in func-g*-equal()
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators
        AssignedTo: ashok.malhotra@oracle.com
        ReportedBy: frans.englich@telia.com
         QAContact: public-qt-comments@w3.org


Hi,   
   
I find the templates in the examples for op:gMonth-equal(and similar)  
confusing/vague. Here are the templates for the various  op:g*-equal functions:  
  
* op:gYear-equal: "xxxx-01-01T00:00:00"  
* op:gMonth-equal: "1972-xx-ddT00:00:00"   
* op:gDay-equal: "1976-xx-xxT00:00:00"  
  
The template for gYear makes to me sense because the information carried by  
gYear can replace the "xxxx" part. However, gMonth have an empty day property,  
and therefore cannot fill the "dd" part, only the "xx" part. Same applies for  
gDay, but reversed.  
    
    
Cheers,    
 Frans

Received on Friday, 20 January 2006 17:39:16 UTC