Comment #4 on issue 336 by [email protected]: SRI-SM Response parsing
error
https://code.google.com/p/jss7/issues/detail?id=336
I think the code should be:
I think the code
- for decoding LocationInfoWithLMSIImpl._decode(...):
case _TAG_AdditionalNumber:
if (ais.isTagPrimitive() ||
this.additionalNumber != null)
throw new MAPParsingComponentException("Error
when decoding " + _PrimitiveName
+ ": additionalNumber: double element
or element is primitive",
MAPParsingComponentExceptionReason.MistypedParameter);
AsnInputStream ais2 = ais.readSequenceStream();
ais2.readTag();
this.additionalNumber = new AdditionalNumberImpl();
((AdditionalNumberImpl)
this.additionalNumber).decodeAll(ais2);
break;
- for encoding:
encodeData(...):
if (this.additionalNumber != null) {
asnOs.writeTag(Tag.CLASS_CONTEXT_SPECIFIC, false,
_TAG_AdditionalNumber);
int pos = asnOs.StartContentDefiniteLength();
((AdditionalNumberImpl)
this.additionalNumber).encodeAll(asnOs);
asnOs.FinalizeContent(pos);
}
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.