What's the difference between and ?

前端 未结 4 1924
耶瑟儿~
耶瑟儿~ 2020-12-31 00:01

do you know if there\'s a difference between these tags on XML/XSD?

 and 

e.g:

<
4条回答
  •  借酒劲吻你
    2020-12-31 00:51

      
    

    is the equivalent of an empty string and will render valid against xsd:string, but not against types like xsd:date, xsd:datetime, xsd:decimal etc.

    
    

    is the equilalent of null and will render valid for all elements which have nillable="true" in the schema-definition

提交回复
热议问题