All, I cannot get jaxb/xjc to unmarshall the data from an xml file that has
tags that have prefixes (referencing xmlns's) to the generated java objects.
Each time I run an unmarshalling test on it I see that it never gets
unmarshalled. However, if I create the DTD and objects (via xjc) after
taking out the xmlns references and prefixes from the xml data, all is
well!...I cannot, however, change the data when I consume it so I need a way
to unmarshall the data when there are prefixes present....
I originally took the xml file and generated a DTD with which I ran xjc...
Here is a snippet of the data from the xml file:
<ff:DataSet>
<ff:Series AVAILABILITY="Z" DECIMALS="2" FF_METHOD="Z" DISCLAIMER="Z"
TIME_FORMAT="ZZZ">
<ffbase:Key>
<base:FREQ>D</base:FREQ>
<base:RATE>FF</base:RATE>
<base:MATURITY>Z</base:MATURITY>
<ffbase:FF_SCOPE>Z</ffbase:FF_SCOPE>
</ffbase:Key>
<ff:Obs OBS_STATUS="Z"
OBS_CONF="Z"><base:TIME_PERIOD>2006-03-09</base:TIME_PERIOD>
</ff:Series>
</ff:DataSet>
-jason