XML validation fails with error “Top level is not completed”

后端 未结 1 1473
说谎
说谎 2021-01-25 05:47

I\'ve got what seems like a very simple example of an xsd and xml file where the xml file does not validate.

Copies of the two files are below.

The first xml ele

1条回答
  •  旧时难觅i
    2021-01-25 06:19

    An XML document cannot be valid until it is well-formed.

    So you should specify a root tag in XML document, e.g.:

    
        
        
        
    
    

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