How to ignore unknown Elements? #96
-
I am investigating a library code and could not understand how to configure XML parser to ignore unknown Elements in XML file? Could anybody write a code example to do so? I am having XML file which contains additional name-spaces with extensions not described in basic XSD. Is it a correct way?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Your example is the intended way to support ignoring unknown elements/namespaces. |
Beta Was this translation helpful? Give feedback.
-
Usually I don't want my client to break if a new XML tag is added in an endpoint. |
Beta Was this translation helpful? Give feedback.
Your example is the intended way to support ignoring unknown elements/namespaces.