Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Invalid
-
Version 2.3
-
None
-
None
-
MacOSX / jdk1.5
Description
Using XMLBeans I have created a domain of classes from the XSD (provided with the testcase) obtaining a JAR file.
Than I tried to parse the XML expecting to have a a domain model loaded in memory with the XML values but as you can see looking at the test I wrote I expect to obtain a count attribute with value 11 but I always has a 0 reposnse.
This is the oupute of my test
There was 1 failure:
1) testXMLBeansUnmarshalling(TestXMLBeansStuffs)junit.framework.AssertionFailedError: expected:<11> but was:<0>
at TestXMLBeansStuffs.testXMLBeansUnmarshalling(TestXMLBeansStuffs.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
FAILURES!!!
Tests run: 1, Failures: 1, Errors: 0