XML Schema

Avatar

Avatar
Validate 1
Level 2
Piotr_Stapp
Level 2

Likes

0 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 2
Piotr_Stapp
Level 2

Likes

0 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Piotr_Stapp
Level 2

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

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

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

Avatar

Avatar
Validate 1
Level 2
Piotr_Stapp
Level 2

Likes

0 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 2
Piotr_Stapp
Level 2

Likes

0 likes

Total Posts

26 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
Piotr_Stapp
Level 2

26-05-2008

Is there a possibility to "avoid" this problem?

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

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).