title: Handling empty sequence in XSLT function
body: <p>I have an XSLT function which checks whether the sent parameter is in YYYYMMDD format or not. In some conditions I am not getting any value to the function, during these conditions SAXON is throwing below error </p>
  
  <blockquote>
    <p>"An empty sequence is not allowed as the first argument of cda:isValidDate()"</p>
  </blockquote>
  
  <p>Any suggestions how to handle this situation ?</p>