[RESOLVED] SAXParseException - The content of element is not complete
Hello,
Need some help with this.
I think it's my XSD but not sure. Here is the error
Jan 19 11:12:49 ERROR http-8080-Processor24 [default].invoke:253 - Servlet.service() for servlet default threw exception
javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'nav' is not complete. One of '{"http://some.com/navigation/v1":subs}' is expected.]
Solved, it was my XML. In the XSD I have a nested tag with out any attributes but in the XML It's used as a nested wrapper tag. just needed to add this to the last element.
Bookmarks