diff --git a/src/scratchpad/src/org/apache/poi/hwpf/model/FieldsTables.java b/src/scratchpad/src/org/apache/poi/hwpf/model/FieldsTables.java index b6812f550f..3af6e0adec 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/model/FieldsTables.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/model/FieldsTables.java @@ -182,6 +182,13 @@ public class FieldsTables GenericPropertyNode endNode = nodes[endNodePositionInArray]; PlexOfField endPlexOfField = new PlexOfField( endNode ); + if ( endPlexOfField.getFld().getBoundaryType() != FieldDescriptor.FIELD_END_MARK ) + { + /* Not and ending mark */ + next++; + continue; + } + Field field = new Field( startPlexOfField, separatorPlexOfField, endPlexOfField ); result.add( field );