How to fix the Oracle error LPX-00320: No more attributes can be added to a non empty element?

In this post, you’ll learn more about the Oracle ErrorLPX-00320: No more attributes can be added to a non empty element with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

LPX-00320: No more attributes can be added to a non empty element

Reason for the Error LPX-00320: No more attributes can be added to a non empty element

Cause: The element to which an attribute was being added is non empty and hence can not add anymore attributes to it.

How to fix the Error LPX-00320: No more attributes can be added to a non empty element ?

You can fix this error in Oracle by following the below steps

Action: Modify the XSLT stylesheet so that all the attributes are added to an element before anything else is added to it. If you absolutely can not do that then select your output method to be DOM based rather then a stream or SAX based output which you are using presently.

Tags :

Leave Your Comment