XSD “one or both” choice construct leads to ambiguous content model

后端 未结 2 1532
旧时难觅i
旧时难觅i 2021-02-07 05:23

I am trying to make a simple XSD choice construct allowing either one or both of two referenced elements, but not none. The construct is similar to below but I keep getting an a

2条回答
  •  走了就别回头了
    2021-02-07 06:14

    Some additional hint, if you have multiple elements linked and you want one bundle of elements or the other bundle, or both, you can do it like this:

    
        
            
                
                
                
                    
    
                    
                    
                        
                        
                    
                
            
            
                
                
            
        
    
    

    Just in case some of you bump into the same issue!!

提交回复
热议问题