Commit e7005e21 authored by Luc Maisonobe's avatar Luc Maisonobe

Fixed parsing of covariance and maneuvers lines in XML.

parent 01dc046f
......@@ -533,6 +533,9 @@ public class OcmParser extends CommonParser<OcmFile, OcmParser> implements Ephem
currentCovarianceHistoryMetadata.checkMandatoryEntries();
setFallback(this::processDataSubStructureToken);
}
if (token.getType() == TokenType.START || token.getType() == TokenType.STOP) {
return true;
}
try {
final String[] fields = SPLIT_AT_BLANKS.split(token.getRawContent().trim());
final int n = currentCovarianceHistoryMetadata.getCovUnits().size();
......@@ -572,6 +575,9 @@ public class OcmParser extends CommonParser<OcmFile, OcmParser> implements Ephem
currentManeuverHistoryMetadata.checkMandatoryEntries();
setFallback(this::processDataSubStructureToken);
}
if (token.getType() == TokenType.START || token.getType() == TokenType.STOP) {
return true;
}
try {
final String[] fields = SPLIT_AT_BLANKS.split(token.getRawContent().trim());
final List<ManeuverFieldType> types = currentManeuverHistoryMetadata.getManComposition();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment