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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Error rendering macro 'children'

A page that contains the children display macro which then has a child page underneath it, displaying another children display macro, throws an error and seems to stop both pages from rendering content. 

The error provided is :

Error rendering macro 'children' : [com.ctc.wstx.exc.WstxLazyException] Undeclared namespace prefix "ac" (for attribute "local-id") at [row,col {unknown-source}]: [1,207]

A use case for this hierarchy may be: 

Services
- Service 1
* Command 1
* Command 2
* Command 3
- Service 2
* Command 1

Whereby the parent "Services" page has the children display macro embedded, as does  each service page underneath it, i.e. Service 1 / Service 2. 

1 answer

1 accepted

0 votes
Answer accepted

Hello Ryan,

Thank you for the detailed error message and your expected results of the macro. From the information you shared, I'm able to confirm your issue is related to a product defect, Children Display Macro gives an error Undeclared namespace prefix "ac" (for attribute "local-id") | CONFCLOUD-72005 (This looks to be a recently discovered issue).

We ask you to vote and watch the above bug to monitor its status.

Alternatively, there is a workaround for this issue:

Workaround

There are different workarounds to be implemented for this one:

  • Change the Excerpt Display parameter of the Children Display macro to none or simple.
  • Remove the Table of Contents, Change Change History, or the Children Display macros from the child pages.
  • Contact Atlassian support for the removal of the attribute in the macros added for the child pages.

Regards,
Stephen Sifers

Thanks Stephen. 

Changing the excerpt display parameter to simple, although not ideal, allows the contents to display again. 

Like Stephen Sifers likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

521 views 18 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you