C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » XML »

Please provide urgent fix on XML error while passing xml in Websevice.


Posted Date: 05 Nov 2009      Posted By: Manoj Gupta      Member Level: Bronze     Points: 1   Responses: 1



The processing instruction target matching "[xX][mM][lL]" is not allowed.




Responses

Author: Lalji    05 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

the message is as it says...
you can't have a processing instruction starting with xml in an XML document
most likely you have an xml declaration inside your XML document
this error usually happens because of two reasons
- you have two xml declarations
- you have white-space before the xml declaration. the xml declaration is optional, so if the parser finds a space it assumes the document is started and then finds the xml declaration which causes the above error


more reference might be help
--------------------------
http://www.anujgakhar.com/2009/02/17/the-processing-instruction-target-matching-xxmmll-is-not-allowed/

http://www.bennadel.com/blog/58-The-Processing-Instruction-Target-Matching-xX-mM-lL-is-Not-Allowed.htm



Post Reply
You must Sign In to post a response.
Next : How to retrive an value from xml for a particluar node and again update the xml
Previous : Error while parsing
Return to Discussion Forum
Post New Message
Category: XML

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use