Community
Participate
Working Groups
When namespace prefix is referenced in one of the XML binding annotations, it must be resolvable to a namespace URI using the @XmlNamespace, @XmlNamespaces or @XmlRootBinding annotations on the containing type. If the developer forgets the declaration, the system silently continues and uses unqualified name. This behavior isn't really desirable and the developer should be informed of the problem.
Added an exception during binding initialization to catch this case. Implemented a few unit tests to go along with this scenario... TestXmlBinding0004, TestXmlBinding0005 and TestXmlBinding0006. Also improved how the form editor page handles an exception during initialization. Made sure that partially-initialized UI components are disposed and in their place a UI is rendered to show information about the failure.
Verified test cases.