XML Schema Validation : Cannot find the declaration of element

前端 未结 3 622
野的像风
野的像风 2020-12-08 20:04

I am still a bit new to XML Schema etc. and have been working to develop some XML, Schema and a Stylesheet (XSLT). I have made reasonable progress, but then realized that my

3条回答
  •  一向
    一向 (楼主)
    2020-12-08 20:37

    Thanks to everyone above, but this is now fixed. For the benefit of others the most significant error was in aligning the three namespaces as suggested by Ian.

    For completeness, here is the corrected XML and XSD

    Here is the XML, with the typos corrected (sorry for any confusion caused by tardiness)

    
    
    
        
            
                
            
        
    
    

    and, here is the Schema

    
    
    
        
            
                
                    
                
            
        
           
        
            
                
            
            
        
           
        
            
                
            
            
        
    
        
            
                
    
    

    Thanks again to everyone, I hope this is of use to somebody else in the future.

提交回复
热议问题