The Processing Instruction Target Matching “[xX][mM][lL]” is Not Allowed
Friday, June 24th, 2011
Background
When parsing XML you receive the following error:
...The Processing Instruction Target Matching "[xX][mM][lL]" is Not Allowed...
Solution
The chances are you have some sort of whitespace (or control character) infront of your XML declaration:
..<?xml version="1.0" encoding="utf-8"?>
It may even be that you have more than one XML declaration in the document..!
You can leave a response, or trackback from your own site.
Tags: xml
Posted in: quick tips