[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Why does the addition of one (1) to a positiveInteger
Hi Folks, I have a function that has a parameter with a xs:positiveInteger datatype. Within the function I add one (1) to the parameter: <xsl:function name="f:iter"> <xsl:param name="count" as="xs:positiveInteger" /> ... <xsl:sequence select="f:iter($count + 1)" /> </xsl:function> When I run this I get an error, "The argument to f:iter is xs:positiveInteger, the supplied value is xs:integer" What is the rationale for this? After all, if I add one (1) to any positiveInteger the result must be a positiveInteger. /Roger
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|