Highlighted

XML Schema

Avatar

Avatar

Piotr_Stapp

Avatar

Piotr_Stapp

Piotr_Stapp

26-05-2008

I'm trying to add a dataconnection to XFA, but I receive following error (copy from msg box):

---------------------------

Adobe LiveCycle Designer

---------------------------

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 or modify your XML Schema

to decrease the schema size.

---------------------------

OK

---------------------------



So my questions are: Any ideas? Are limits somewhere defined?

Thanks for any help.

Replies

Highlighted

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

26-05-2008

The limit is 100K nodes (as we see them) not neccessarily 100K nodes in the schema. See the explanation below:



The node limit applies to the total resolved number of nodes - not the number of definitions in the schema. For example, a schema might define element "X" and an attribute group which defines 10 attributes. The schema might also have 20 other elements which have "X" as a child and also include that attribute group. This would result in the "X" element creating 20 nodes and the attribute group creating 200 nodes (10 attrs x 20 refs). This means the 100000 limit is relatively easily reached for a schema described by what might look like a small XSD.



Hope that helps
Highlighted

Avatar

Avatar

Piotr_Stapp

Avatar

Piotr_Stapp

Piotr_Stapp

26-05-2008

Is there a possibility to "avoid" this problem?
Highlighted

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

27-05-2008

Not without reworking the schema or selecting a different node to be your root node (assuming you only need part of the schema).