Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FML parsing improvement #324

Merged
merged 8 commits into from
Jan 9, 2025
Merged

FML parsing improvement #324

merged 8 commits into from
Jan 9, 2025

Conversation

oliveregger
Copy link
Member

@oliveregger oliveregger requested a review from qligier January 2, 2025 11:14
mapR5.getText().setDiv(new XhtmlNode(NodeType.Element, "div"));
final String render = StructureMapUtilities.render(mapR5);
mapR5.getText().getDiv().addTag("pre").addText(render);
StructureMap mapR5 = MatchboxEngineSupport.mainEngine.parseMapR5(mapText);
Copy link
Member

Choose a reason for hiding this comment

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

MatchboxEngine.parseMapR5() doesn't handle the onlyOneEngine mode correctly, and should probably not. I think it's cleaner to handle that in matchbox-server.

Copy link
Member Author

Choose a reason for hiding this comment

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

as dicussed: use createR5WorkerContext if we are not in a 5.0.0 context

Copy link
Member Author

Choose a reason for hiding this comment

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

updated as discuessed.

pom.xml Outdated Show resolved Hide resolved
@qligier qligier force-pushed the oe_fmlupdate branch 2 times, most recently from 8ec2170 to 1147509 Compare January 7, 2025 11:08
@oliveregger oliveregger merged commit 7359455 into main Jan 9, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants