Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM forms designer // Cannot import XSD - too many resolved schema nodes

Avatar

Level 1

Hello,

I hope you are able to help me.

We are investigating the use of AEM forms (previously Adobe Livecycle) to populate data in dynamic pdf forms.

When creating the data connection and importing the XSD (XML Schema), following error appears:

"

The schema described by the selected root element cannot be read

as the number of resolved schema nodes exceeds the supported limit.

Please select a different root element of modify your XML Schema to decrease the schema size.

"

Unfortunately none of these suggestions are applicable to us.

I heard that there is a limit of 100,000 nodes. This is done for memory considerations. The limitation is a resolved node count not a direct 1 to 1 node in the schema.  There is a registry setting that will allow to increase this number.

Unfortunately I haven't yet found this setting.

Could you please assist me increasing this limit?

Thanks and best regards,

Alexander

[Moderator Note: Personal information removed]

1 Accepted Solution

Avatar

Correct answer by
Employee

Alexander,

you will need to add the MaxResolvedXSDNodes as a new DWORD(32) value under the Options key. I don't believe it is there by default.

Sorry if that was not clear.

Thanks,

KJ

View solution in original post

5 Replies

Avatar

Level 7

Can you provide a bit more information? e.g.

  • Where are you seeing this error? Workbench? Designer?
  • How many unique nodes are actually in your schema?
  • Is your schema well formed? [1]
  • Does it contain any recursive nodes? [2]

[1] W3C XML Schema (XSD) Validation online

[2] IBM Knowledge Center

Avatar

Employee

Hello Alexander,

I believe the Registry key you are looking for is this:

HKEY_CURRENT_USER\SOFTWARE\Adobe\Designer\6.3\Options\MaxResolvedXSDNodes

DWORD(32bit) {value needs to be hexadecimal}

Avatar

Level 1

Hi Kjaeggin,

thanks for your answer. Unfortunately I can't find the key you mentionned.

I got the following under Options:

1587543_pastedImage_1.png

Thanks for your help,

Alex

Avatar

Correct answer by
Employee

Alexander,

you will need to add the MaxResolvedXSDNodes as a new DWORD(32) value under the Options key. I don't believe it is there by default.

Sorry if that was not clear.

Thanks,

KJ

Avatar

Level 1

Hi KJ,

this worked, thanks a lot.

Really appreciate your solution.

Have a nice one and best regards,
Alex