XMLParser returns XML-20100 (Fatal Error) Expected 'EOF' with </#document> tag. (Doc ID 738747.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle XML Developers Kit - Version 10.1.0.2 and later
Web Services - Version 10.1.3.3.0 and later
Information in this document applies to any platform.
***Checked for relevance on 28-Oct-2014***

Symptoms

Using Apache XML Security to canonicalize a document generates a malformed document (always ends with tag: </#document>) which the XML Parser fails to parse with error:

XML-20100 (FatalError) Expected 'EOF'.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms