You're likely running into function mapping 
<http://docs.marklogic.com/guide/xquery/enhanced#id_55459>.

Justin


> On Aug 21, 2015, at 9:44 AM, Hasegawa, Margarete 
> <[email protected]> wrote:
> 
> Hi, 
> 
> Has anyone experienced an issue with MarkLogic failing to enforce occurrence 
> indicators in function calls? For example, a function expects xs:string? 
> (meaning that the function is expecting either the empty sequence or a single 
> node), but instead accepts multiple values and does not fail. We've observed 
> that instead of raising a syntax error, ML will sometimes give unpredictable 
> behavior instead. Could this be a bug?
> 
> Many thanks!
> Maggie 
> 
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at: 
> http://developer.marklogic.com/mailman/listinfo/general

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to