This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The Xquery declare function foo($a as xs:integer) is encoded in the supplied xqueryx as <xqx:paramList> <xqx:param> <xqx:varName>a</xqx:varName> </xqx:param> </xqx:paramList> the xs:integer type has been dropped. For comparison xq2xqx encodes this as <xqx:paramList> <xqx:param> <xqx:varName>a</xqx:varName> <xqx:typeDeclaration> <xqx:atomicType xqx:prefix="xs">integer</xqx:atomicType> </xqx:typeDeclaration> </xqx:param> </xqx:paramList> David
Fixed in XQTS 0.8.6 (Feb 15). > The Xquery > > declare function foo($a as xs:integer) > > is encoded in the supplied xqueryx as > <xqx:paramList> > <xqx:param> > <xqx:varName>a</xqx:varName> > </xqx:param> > </xqx:paramList> > > the xs:integer type has been dropped. > For comparison xq2xqx encodes this as > > <xqx:paramList> > <xqx:param> > <xqx:varName>a</xqx:varName> > <xqx:typeDeclaration> > <xqx:atomicType xqx:prefix="xs">integer</xqx:atomicType> > </xqx:typeDeclaration> > </xqx:param> > </xqx:paramList> > > > David