Setting max length of date type as 0 in XSD

前端 未结 1 864
梦谈多话
梦谈多话 2021-01-25 13:44

  
    
  
         


        
1条回答
  •  粉色の甜心
    2021-01-25 14:31

    Your requirements contradict each other. You cannot constrain an element to be a date and also to be empty concurrently because dates cannot have zero length.

    If you intend to allow either a date or an empty string, see Allow XSD date element to be empty string.

    0 讨论(0)
提交回复
热议问题