[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xdt:dayTimeDuration casting issue
On 3/8/07, Laura Porter <lporter@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi, When I run that example with Saxon 8.7.3b I get the error: FORG0001: Invalid duration value 'P0Y3M3DT12H' (non-numeric or out-of-range component) ..so your duration value isn't valid. You appear to have included years and months, whereas it only allows days and a time (the allowed format is "PnDTnHnMnS") see: http://www.w3.org/TR/xpath-functions/#dt-dayTimeDuration Also, I believe the only prefix to use these days is xs:* (although Saxon seems to work with both). cheers andrew
|
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
|