I have a situation where I'm getting empty arrays where I know that
the nodes actually exist. Below is a snippet of what I'm doing:
OTAAirLowFareSearchRSDocument rsDoc = OTAAirLowFareSearchRSDocument.Factory
.parse(resultElement);
int nodeListLength =
resultElement.getElementsByTagName("PricedItinerary").getLength();
PricedItineraryType[] t =
rsDoc.getOTAAirLowFareSearchRS().getPricedItineraries().getPricedItineraryArray();
PricedItinerariesType typ =
rsDoc.getOTAAirLowFareSearchRS().getPricedItineraries();
int sizeOfPricedItineraryArray = typ.sizeOfPricedItineraryArray();
When this executes I see:
nodeListLength = 9
t.length = 0
sizeOfPricedItineraryArray = 0
I see this behavior with both 1.0.4 and 2.0.0. Any ideas?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]