Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Invalid append operation

Avatar

Level 3

I get the following message(in my livecycle server log) when one of my forms loads in workspace.  Its only the one form that this occurs in and the form appears to work correctly.  Does anyone have any idea why this warning occurs and how to clear it?  Anyone know what the specific fault lines (2812 and 1825) refer too?  I was thinking it would refer to the xml source inside designer but it didn't appear to relate.  This causes a lot of spam in the server log file and it could be causing an error that I haven't been able to find yet.

__________________________

2011-09-16 13:37:00,203 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
2011-09-16 13:37:00,203 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 2812.
2011-09-16 13:37:01,781 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
2011-09-16 13:37:01,781 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 1825.
2011-09-16 13:37:01,813 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] Invalid append operation: field cannot have a child element of #text
2011-09-16 13:37:01,813 WARN  [com.adobe.document.XMLFormService] ALC-XTG-102-001: [79408] The fault occurred on line 1825.

1 Reply

Avatar

Level 10

I don't work with LC servers but with Designer but think this doesn't matter here.

A fields text is the child element of a value element. So you first have to append a value element and then append the text element to it.

In Designer the script looks like:

Hope this helps.