Skip to content

Add a new flag to control whether the presence of unsupported FpML elements triggers errors when parsing#2097

Merged
jodastephen merged 3 commits into
masterfrom
lenient-fpml-parsing
Oct 14, 2019
Merged

Add a new flag to control whether the presence of unsupported FpML elements triggers errors when parsing#2097
jodastephen merged 3 commits into
masterfrom
lenient-fpml-parsing

Conversation

@ashleyheath
Copy link
Copy Markdown
Contributor

No description provided.

…hether the presence of unsupported FpML elements triggers errors when parsing.
* @param refData the reference data to use
* @return the document parser
*/
public static FpmlDocumentParser withLenientMode(
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be better to have public FpmlDocumentParser withLenientMode() which takes the instance you already have and returns a new instance with the flag flipped.

@jodastephen jodastephen merged commit 366e64e into master Oct 14, 2019
@delete-merged-branch delete-merged-branch Bot deleted the lenient-fpml-parsing branch October 14, 2019 16:02
@jodastephen jodastephen added this to the v2.7 milestone Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants