- From: Mukul Gandhi <gandhi.mukul@gmail.com>
- Date: Sat, 9 Oct 2010 07:47:03 +0530
- To: xmlschema-dev@w3.org
- Cc: Vani Gupta <vani_1974@yahoo.co.uk>, Michael Kay <mike@saxonica.com>
On Fri, Oct 8, 2010 at 1:38 PM, Michael Kay <mike@saxonica.com> wrote: > Another use case for XSD 1.1 assertions: > > <xs:assert test="string-length(.) le 50000"/> I think expression string-length(.) returns string value (which is the concatenation of all-of text node descendent's of a node in document order) of an XDM node (in this case, an element node), which Vani wanted. Cool :) > (I would question whether it *should* be done. I find it hard to think of a > good reason for designing a system with this limit in it. But that's another > question.) I agree with Mike. -- Regards, Mukul Gandhi
Received on Saturday, 9 October 2010 02:17:56 UTC