Subject: [xsl] XPath 2.0 Functions - numeric constructors From: Miloslav Nic <nicmila@xxxxxxxxxxxx> Date: Tue, 8 Jan 2002 13:47:08 +0100 (CET) |
Hello, I am getting a bit perplexed by numeric constructors in: http://www.w3.org/TR/xquery-operators/ 1) [Issue 149: Either the constructor functions should allow dynamic expressions or the syntax should be changed so that they do not appear to be functions. ] What is meant by dynamic expressions? Does it mean that the argument must be "12" but something like (xf:short(xf:concat("1","2")) will not be permitted ? 2) notation looks a bit perplexing: xf:short(string $srcval) => integer xf:byte(string $srcval) => integer ... ... should not it be rather: xf:short(string $srcval) => short xf:byte(string $srcval) => byte ... ... ? 3) Standard says: If the argument string passed to a constructor results in an error (for example, if it conatains a letter other than "E" or "e" or a string other than the special values named above), the constructor returns the error value as defined in [XQuery 1.0 and XPath 2.0 Data Model]. But http://www.w3.org/TR/query-datamodel/#error is very vague. What will be the return value or will it be a fatal error? -- ****************************************** <firstName> Miloslav </firstName> <surname> Nic </surname> <mail> nicmila@xxxxxxxxxxxx </mail> <support> http://www.zvon.org </support> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Accessing Variables while, Jarno . Elovirta | Thread | RE: [xsl] XPath 2.0 Functions - num, Michael Kay |
RE: [xsl] text() and not(), Andrew Welch | Date | RE: [xsl] Accessing Variables while, Jarno . Elovirta |
Month |