The XML document returned by Wikipedia API is not well formed. For example the XML document returned by the below url is not well formed.
The value of the attribute name in ref tag is not surrounded by quotes. ( <ref name=Veruggio2002> )
Can anyone suggest me of getting valid xml pages given the article ids?