[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: strong typed variable with restriction ?
Sorry Michael, this mails stayed as draft, I've just seen that... so a bit out of ..."hour" Le 02/02/2011 14:49, Michael Kay a icrit : No, that won't solve the problem. If the declared type of the function is element(), then the otherwise branch (whether explicit or implicit, whether executed or not) must return an element.Yes I know that. It's not the best solution but when turning the function to element()* then it will be a way of simulating the "typed param" error instead of the processor. (I didn't know that point for java, but I knew it for xslt ;-) i'm a xslt developper more than any langage actually) Thanks for your patience and pedagogie, Matthieu. -- Matthieu Ricaud IGS-CP Service Livre numirique
|
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
|