Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

The XML content could not be parsed. There is a problem at Unexpected close tag

Hello Guys,

I have a confluence macro that is working fine in Confluence version 7.x 

Now I am going to upgrade my macro to support confluence 8.x (8.5.0), I am facing a few issues while upgrading it.

I couldn't access the preview page before publishing on Confluence when I clicked the preview button. I was facing this error.

image.png

I'm not sure what I'm missing, so if anyone can help, that would be great.

Please let me know if you require any additional details from my end.

Any support you can give would be greatly appreciated.

1 answer

0 votes
Florian Bonniec
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 15, 2023 • edited

Hi @Florian Bonniec

I have removed this method now working on confluence 8 macro.

try {
xhtmlUtils.handleMacroDefinitions(body, conversionContext, new MacroDefinitionHandler() {
public void handle(MacroDefinition macroDefinition) {
macros.add(macroDefinition);
}
});
} catch (XhtmlException e) {
com.prolaborate.configureui.ConfigResource.log.error("API Request URL XhtmlException: "+e.getMessage()+"\n");
throw new MacroExecutionException(e);

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.0
TAGS
AUG Leaders

Atlassian Community Events