Title: Message
 

 
Basically I have a object which has HashMap of dbColumns and HAshMap of tableProperties.
My binding.xml is as follows. The data.xml is also attached.
When I try to run the TestRoundTrip I get the following error
 
runbindings:
      [jar] Building jar: C:\jibx\lib\runtimebindings.jar
 
runTest16:
     [java] org.jibx.runtime.JiBXException: Expected start tag, found end tag "e
ntry" (line 14, col 48)
     [java]     at org.jibx.runtime.impl.UnmarshallingContext.toStart(Unmarshall
ingContext.java:489)
     [java]     at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(U
nmarshallingContext.java:2561)
     [java]     at org.jibx.custombindings.HashMapper.unmarshal(HashMapper.java:
157)
     [java]     at example16.DBTable.JiBX_jibx_tutorial_example16_binding_unmars
hal_1_0(DBTable.java)
     [java]     at example16.JiBX_jibx_tutorial_example16_bindingDBTable_access.
unmarshal()
     [java]     at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(U
nmarshallingContext.java:2568)
     [java]     at org.jibx.custombindings.HashMapper.unmarshal(HashMapper.java:
157)
     [java]     at example16.DBModel.JiBX_jibx_tutorial_example16_binding_unmars
hal_1_0(DBModel.java)
     [java]     at example16.JiBX_jibx_tutorial_example16_bindingDBModel_access.
unmarshal()
     [java]     at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(U
nmarshallingContext.java:2568)
     [java]     at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(
UnmarshallingContext.java:2736)
     [java]     at org.jibx.extras.TestRoundtrip.runTest(TestRoundtrip.java:86)
     [java]     at org.jibx.extras.TestRoundtrip.main(TestRoundtrip.java:140)
     [java] Error round-tripping class: example16.DBModel
     [java]  with input file example16/data.xml and output compared to example16
/data.xml
     [java] Saved output document file path C:\jibx\tutorial\temp.xml
 
BUILD FAILED
file:C:/jibx/tutorial/build.xml:346: Java returned: 1
 
Any inputs or suggestions ?
 
Thanks in Advance
Sudhi

Reply via email to