xml schema validation error “prefix is not bound”

后端 未结 3 532
醉话见心
醉话见心 2021-02-07 01:57

I am entirely new to XML Schema and am trying to get the basics down. Here is my xml schema code (filename: example1.xsd):




        
3条回答
  •  北海茫月
    2021-02-07 02:10

    In your XML, you either need to:

    A. Remove the sample: prefix from sample:school

    or

    B. Change the xmlns="http://www.example.com" to xmlns:sample="http://www.example.com" and add the sample: prefix to the rest of the elements (, , etc.)

提交回复
热议问题