BIP5014

Severity

20 : Error

Message

Element must have a namespace specified if there is a default namespace in scope.

Explanation

Whilst writing the XMLNS message, element <insert_0> was found to be in scope of a default namespace, but this element does not have a namespace defined.

Response

This error can occur if the NamespaceDecl correlation name has been used to create a default namespace for a parent element, and a child element has been created that does not have a namespace. If you have defined a default namespace in your output message tree, then all elements that are in scope of this default namespace must be defined to be in a namespace. Modify the output message tree so that element <insert_0> is defined to be in a namespace. If element <insert_0> belongs to the default namespace, then this element needs to be created in the default namespace.