xml schema validation error “prefix is not bound”

后端 未结 3 535
醉话见心
醉话见心 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:21

    It's not direct answer to your question, but I stumbled here while trying to solve my own problem, so maybe it will help someone too.

    My own error 'The prefix ns2 is not bound' surfaced after upgrading from Weblogic 10.3.6 to 12.2.1.2.

    In higher version default JAXB Implementation is Moxy, so I had to change javax.xml.bind.JAXBContext to com.sun.xml.bind.v2.ContextFactory.

    How to specify JAXBContext implementation in weblogic 12.1.3

提交回复
热议问题