That's the best answer I've gotten from a dev list in a long time. I have my bottom-line answer and a nice reminder on how I could have figured it out for myself. =)
Thanks Michael! On 3/28/08, Michael Blakeley <[EMAIL PROTECTED]> wrote: > Mattio Valentino wrote: > > Just checking on this one. Is there an upper limit to the value set > > by xdmp:document-set-quality? I didn't see any mention of a limit in > > the Developer's Guide or the function reference. > > The limits are documented, but indirectly: > > http://developer.marklogic.com/pubs/3.2/apidocs/UpdateBuiltins.html#document-set-quality > says that $quality is xs:int, and http://www.w3.org/TR/xmlschema-2/#int > says: > > int is ·derived· from long by setting the value of ·maxInclusive· to be > 2147483647 and ·minInclusive· to be -2147483648. The ·base type· of int > is long. > > Let's test it: > > xdmp:document-insert( > 'test.xml', <test/>, xdmp:default-permissions(), > xdmp:default-collections(), > 2147483647 > ) > => () > > xdmp:document-get-quality('test.xml') > => 2147483647 > > -- Mike > > _______________________________________________ > General mailing list > [email protected] > http://xqzone.com/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
