- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 16 Sep 2005 13:34:52 +0000
- To: public-qt-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2262 Summary: [xqueryx] 0-ary function arguments Product: XPath / XQuery / XSLT Version: Last Call drafts Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: XQueryX AssignedTo: jim.melton@acm.org ReportedBy: davidc@nag.co.uk QAContact: public-qt-comments@w3.org The schema has: <xsd:complexType name="functionCallExpr"> <xsd:complexContent> <xsd:extension base="expr"> <xsd:sequence> <xsd:element name="functionName" type="QName"/> <xsd:element name="arguments" type="exprList" minOccurs="0"/> so the arguments child may be omitted (it also may be present, but empty) If however it is omitted then the stylesheet does not put () after the function name, and the construct will be an Xpath to select a child element not a function call. minOccurs="0" should be deleted, and a 0-argument function should be represented by a functionCallExpr with an empty (but present) arguments child. David
Received on Friday, 16 September 2005 13:35:27 UTC