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

Error rendering macro 'children'

Ryan June 24, 2021

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
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 25, 2021

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

Ryan June 30, 2021

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
AUG Leaders

Atlassian Community Events