Java XML Schema validation: prefix not bound

后端 未结 2 805
心在旅途
心在旅途 2020-12-16 02:16

I have followed this tutorial for validating XML files. But I am receiving exception when validating XML file. What I am doing wrong? My codes:
XML schema:



        
2条回答
  •  温柔的废话
    2020-12-16 02:51

    Add this line to your schema, just below the first line:

    
    

    ... and a closing tag as the last line in the schema:

    
    

提交回复
热议问题