xsd:boolean element type accept “true” but not “True”. How can I make it accept it?

后端 未结 3 2057
余生分开走
余生分开走 2020-12-15 02:20

I am using xmllint --schema option to validate my XML that looks like this


True

In my

3条回答
  •  难免孤独
    2020-12-15 03:10

    xs:boolean is predefined with regard to what kind of input it accepts. If you need something different, you have to define your own enumeration:

     
        
          
          
        
      
    

提交回复
热议问题