XML-20100: Expected EOF

Oracle error codes are a classic example of corporate unwillingness, of information witholding. They purport to tell you the problem, but in reality only tell that you have a problem.

In the last couple of weeks, on another of our systems, one particular document is failing somewhere in our XML processing pipeline. We're using the Oracle XML parser, and it says XML-20100, expected 'EOF'. There's nothing obviously wrong with the source document, so this is a slightly puzzling error. A little more explanation would be good. So I looked it up on the miracle of Google.