Skip to main content

JAXB validation error

4 replies [Last post]
cdpothen
Offline
Joined: 2006-11-21
Points: 0

Hi
I am using JAXB version 1.0 and jdk 1.4

i changed my xsdlib version from 20030530 to 1.2.2 and I am getting a strange error for the validation for the following element

The same request i sent in earlier is no longer being accepted and i can't make sense what is the issue from the validation error message. For a string i really can't make out what is incomplete...pls help...

Content of element "TecGeq" is incomplete ...

This is the stack trace....
com.sun.msv.verifier.ValidityViolation: Content of element "TecGeq" is incomplete
at com.sun.msv.verifier.Verifier.onError(Verifier.java:367)
at com.sun.msv.verifier.Verifier.onError(Verifier.java:361)
at com.sun.msv.verifier.Verifier.endElement(Verifier.java:325)
at com.sun.msv.verifier.VerifierFilter.endElement(VerifierFilter.java:102)
at org.iso_relax.verifier.impl.ForkContentHandler.endElement(Unknown Source)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:188)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:210)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:183)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:210)
at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:183)
at com.sun.xml.bind.unmarshaller.DOMScanner.parse(DOMScanner.java:72)
at com.project.xml.impl.runtime.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:166)

Message was edited by: cdpothen

I send in value say 345 inside the complex type...and this has been working for so long...i dont know if there is something i have missed out...

Message was edited by: cdpothen

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
cdpothen
Offline
Joined: 2006-11-21
Points: 0

will post it under JAXB...This was a issue related to version 1.0 and i couldnt find a section. Will post this under JAXB 2.0 forum.

kirillcool
Offline
Joined: 2004-11-17
Points: 0

WS & XML news is hardly better than JAXB 2.0 forum - the postings here are mostly automated (synchronized with the WS & XML community main page). There are also mailing lists on https://jaxb.dev.java.net.

cdpothen
Offline
Joined: 2006-11-21
Points: 0

We are still getting this error. Any help would be appreciated.

kirillcool
Offline
Joined: 2004-11-17
Points: 0

Don't put it in the News forum. Put it in JAXB forum.